Course Solutions Uncategorized (Solved) : Keep Getting Failed Http Error 400 Bad Request Line Put Bold Know Alot Code Strech Help Go Q29391352 . . . .

(Solved) : Keep Getting Failed Http Error 400 Bad Request Line Put Bold Know Alot Code Strech Help Go Q29391352 . . . .

 

keep getting my “Failed because of: HTTP Error 400: Bad Request”from the line I put in bold. I know this is alot of code and is astrech but any help is good.

Im writing this in python3 btw

def animate(i):
global refreshRate
global DatCounter

if chartLoad:
if paneCount == 1:
if DataPace == “tick”:
try:
if exchange == “BTC-e”:
a = plt.subplot2grid((6,4), (0,0), rowspan = 5, colspan = 4)
a2 = plt.subplot2grid((6,4), (5,0), rowspan = 1, colspan = 4,sharex = a)

dataLink =’https://btc-e.com/api/3/trades/btc_usd?limit=2000′
data = urllib.request.urlopen(dataLink)
data = data.readall().decode(“utf-8”)
data = json.loads(data)

  
data = data[“btc_usd”]
data = pd.DataFrame(data)

data[“datestamp”] =np.array(data[‘timestamp’]).astype(“datetime64[s]”)
allDates = data[“datestamp”].tolist()

buys = data[(data[‘type’]==”bid”)]
#buys[“datestamp”] =np.array(buys[“timestamp”]).astype(“datetime64[s]”)
buyDates = (buys[“datestamp”]).tolist()
  

sells = data[(data[‘type’]==”ask”)]
#sells[“datestamp”] =np.array(sells[“timestamp”]).astype(“datetime64[s]”)
sellDates = (sells[“datestamp”]).tolist()

volume = data[“amount”]

a.clear()

a.plot_date(buyDates, buys[“price”], lightColor,label=”buys”)
a.plot_date(sellDates, sells[“price”], darkColor,label=”sells”)

a2.fill_between(allDates,

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Answered) : In an attempt to save consumers from themselves, the New York City Major tried to ban the Big Gulp drink. Read this article: http:(Answered) : In an attempt to save consumers from themselves, the New York City Major tried to ban the Big Gulp drink. Read this article: http:

In an attempt to save consumers from themselves, the New York City Major tried to ban the Big Gulp drink. Read this article: http://www.adweek.com/brand-marketing/tall-cold-tale-big-gulp-162960/ (Links to an external site.)Links to