Git Product home page Git Product logo

btcchina-api-python's Introduction

btcchina-api-python

BTCChina Trade API implementation in Python.

btcchina-api-python's People

Contributors

btcchina-github avatar pascal-jacq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

btcchina-api-python's Issues

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.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.