Skip to main content

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)

Uploaded Source

Built Distribution

pymarketwatch-1.5.0-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page