API to interact with MarketWatch's Stock Market Game API
Project description
pymarketwatch
A Python libary to interact with the MarketWatch Stock Market Game Based on code from https://github.com/kevindong/MarketWatch_API/
Example
from pymarketwatch import MarketWatch
api = MarketWatch("email", "password", "game-name-from-url", True)
api.buy("AAPL", 100)
print(api.get_pending_orders())
print(api.get_positions())
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
pymarketwatch-1.3.0.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for pymarketwatch-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc0999d0ffe9abebfa1a50f28ebcc96d28496f89900167403c9d974ce206e43d |
|
MD5 | db59eb1a25726ae526126304343706c7 |
|
BLAKE2b-256 | a1ba30bf74f1c7583ba489e65e1abe5a570ca7061f244d9454c2382fa0583473 |