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.5.0.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for pymarketwatch-1.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe453abe8e5b85a5831547ff698055e39c7625f155a664e3635b1fdfddf2378 |
|
MD5 | 4125fb75d3af2124dd8fc7fa8e39058e |
|
BLAKE2b-256 | 3aa12fc619bc746141c972022a9f5726645fdda63c3165f36674ffca74703ee7 |