API wrapper for Stockfighter
Project description
Stockfighter
API wrapper for Stockfighter
Free software: ISC license
Documentation someday at: https://stockfighter.readthedocs.org.
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.6 (2015-12-14)
Fix place_new_order to actually pass price. Novel!
0.2.5 (2015-12-14)
Python3 re-compatibility
Fix status_for_all_orders endpoint
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file stockfighter-0.2.6.tar.gz
.
File metadata
- Download URL: stockfighter-0.2.6.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee16a372f1fe2b38f7c536641d5de5dd07c11ada1d2cda2d4b8d3caeecb2157 |
|
MD5 | a60be42e50edfe424596f9e7c2e00752 |
|
BLAKE2b-256 | 6fe43dbab712a82b6e3271919f72fbc0ca06e7c91bbbd0cec4d47e2bba0629fa |
File details
Details for the file stockfighter-0.2.6-py2.py3-none-any.whl
.
File metadata
- Download URL: stockfighter-0.2.6-py2.py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c1d4bc76e538c0e08e9cc68a1c19cd23b0e064846d74a1bab21c37a5d5f741 |
|
MD5 | 6a0bea2c28fe664db142da66c9ad0378 |
|
BLAKE2b-256 | 391883cdad80310b45f6751c91249b0c233b8b62bf693240a9b0779e1b1321bb |