A simple Python API for Investopedia's stock simulator games. This programmatically logs into Investopedia and can retrieve portfolio summary, get stock quotes & option chain lookups, execute trades - buy & sell shares, puts, calls, sell short, etc.
This may not be possible. This is because the csrf token is single use across all trades. As soon as the trade stock/option page refreshes, it invalidates the csrf token.
A synchronous task queue that implements threading would probably work best.
This may not be possible. This is because the csrf token is single use across all trades. As soon as the trade stock/option page refreshes, it invalidates the csrf token.
A synchronous task queue that implements threading would probably work best.