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.1.0.tar.gz
(8.5 kB
view hashes)
Built Distribution
Close
Hashes for pymarketwatch-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65ec376daedd6a93f4c76e4177a791ef46af2c8eb25ed5e5dfa05b3d6f074bde |
|
MD5 | c9a2adb5c710101d84362d24e5116451 |
|
BLAKE2b-256 | a0f0d6ecfeedf98e8cb26bbb884d86dbbf866fae7365eb94010f42bff50a293f |