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.2.0.tar.gz
(8.5 kB
view hashes)
Built Distribution
Close
Hashes for pymarketwatch-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7df47d2f116cec80d7154e65592751ae48488d779974ce2bf06504b5fb5dd24b |
|
MD5 | b45b2a267dd73172bfc6c9c4e6cdb9cd |
|
BLAKE2b-256 | 67b75fcaa7800e337dfda57a588dec900b4f851fc28f9c249c19f5cfa34f2d00 |