BTCChina Trade API implementation in Python.
btcchina-api-python's Introduction
btcchina-api-python's People
Forkers
rickcrook noahfx pstch lebib isbarton crazygeekone lingdian530 emfox onestarshang infixz landyeath leileishi steven-ho robinliu2010 scottzeng1999btcchina-api-python's Issues
httplib.ResponseNotReady
Hi
I have this error :
marketDepth = bc.get_market_depth2(limit,market)
File "/home/guig33k/projects/BTCCBot/btcchina.py", line 95, in get_market_depth2
return self._private_request(post_data)
File "/home/guig33k/projects/BTCCBot/btcchina.py", line 65, in _private_request
response = self.conn.getresponse()
File "/usr/lib/python2.7/httplib.py", line 1061, in getresponse
raise ResponseNotReady()
httplib.ResponseNotReady
status: 502 reason: Bad Gateway
Hi
My script stop with status: 502 reason: Bad Gateway
And i see it :
TypeError: 'NoneType' object has no attribute 'getitem'
I hope it can help you
Thanks.
Invalid json api response: 'u' precedes keys & values
I'm seeing 'u' characters preceding every key and value in the json responses from your trading api. eg:
{u'date': 1429574261, u'transaction': [{u'ltc_amount': u'0.00000000', u'market': u'', u'cny_amount': u'0.00000000', u'date': 1398403501...
I'm assuming this is some kind of unicode encoding bug. Can this be reproduced by anyone?
Thanks.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.