Skip to main content

API wrapper for Stockfighter

Project description

Stockfighter

https://img.shields.io/pypi/v/stockfighter.svg https://img.shields.io/travis/striglia/stockfighter.svg Documentation Status

API wrapper for Stockfighter

Get things started

Not hard!

pip install stockfighter

Using the standard API

from stockfighter import Stockfighter
s = Stockfighter(venue='TESTEX', account='EXB123456')
print s.venue_stocks()

…and the GM API for managing levels and such

from stockfighter import GM
gm = GM()
print gm.start('first_steps')  # Start the first level programmatically

Features

  • Calling the core Stockfighter API is pretty important :)

  • Includes some rudimentary support for the GM API, such as it is known

  • …..get back to me later on what else

History

0.2.4 (2015-12-12)

  • Fix some outlying GM implementation bugs

  • Add test for basic GM client object instantiation

0.2.3 (2015-12-12)

  • Tests now also assert the API is responding w/ good “ok” values, not just HTTP 200s.

  • Py 3.5 testing included

0.2.2 (2015-12-12)

  • Fix testing and implementation for place_order

0.2.2 (2015-12-11)

  • Make py2 and py3 compatibility a thing, guaranteed by Tox and Travis.

0.2.1 (2015-12-11)

  • Working README and quick install

0.2.0 (2015-12-11)

  • All API functions implemented and tested

0.1.0 (2015-12-11)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stockfighter-0.2.4.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

stockfighter-0.2.4-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file stockfighter-0.2.4.tar.gz.

File metadata

File hashes

Hashes for stockfighter-0.2.4.tar.gz
Algorithm Hash digest
SHA256 fd99315eafbf2fff89e8bf9e2a1df840d96f465add2f3186fdd787ecc0ba2658
MD5 c85a027376b1b1d3c28625c25cd11a4d
BLAKE2b-256 ce291a2d1f4a02040627d02391ca987027c4ce5470350b2359025fb6f7e897c6

See more details on using hashes here.

File details

Details for the file stockfighter-0.2.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for stockfighter-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d934446c1c84c45c20f579162b0130494c58d7ee7fe428d672c8a2c164647808
MD5 284fad6756804246ce6be148a9fa4a19
BLAKE2b-256 63cb3a3c547b964ba1d6356fe1e43ee7ffb2b3ca92d7931cd522565aa27c5bf6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page