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.4.0.tar.gz
(8.7 kB
view hashes)
Built Distribution
Close
Hashes for pymarketwatch-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d55cc3279899307863317e56593717d3e206b8f08df6204a818e728329d0428f |
|
MD5 | 3ab529dacef585d9a1b0c3945c91d117 |
|
BLAKE2b-256 | f7d51612fe0bd51d894596522a88d4b25c401ffe0936d9455152c1b1f36046c4 |