Giter Club home page Giter Club logo

stockfighter's People

Contributors

chrishepner avatar gitter-badger avatar imrehg avatar kornholi avatar nehz avatar striglia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stockfighter's Issues

post requests break on requests < 2.4.2

hey,

So apparently trying to post something (ie. place_new_order) while using a dated version of requests causes the reponse to return:

TypeError: request() got an unexpected keyword argument 'json'

I believe the default version installed on some machines (mine being ububntu 14.04) is requests 2.2.1 which breaks when

return requests.post(_args, *_kwargs)

is called since this shortcut for the longer post statement is only supported on requests >2.4.2.

In order to avoid users having this issue, we should put in the documentation that users need to be on requests version >2.4.2 (can just be "do this - pip install requests --upgrade or you could add a line in requirements.txt "requests=2.4.2" and have people do "pip install -r requirements.txt" in the getting started section.

Not sure what would be the best way but wanted to report in what I have found.

Readthedocs should mirror stockfighter.io docs

Right now I need to pull up the source in order to see the API calls. Should be closer to what stockfighter.io provides. If nobody else has claimed it I would be happy to write these, since I'll be using this extensively :)

Keep PyPI package up-to-date or add disclaimer to readme

Right now, pip install still delivers a version of the library where terminating instances doesn't work. I know it is additional work, but if you recommend to use pip instead of just checking out the repo PyPI should be up to date.

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.