dchrostowski/investopedia_simulator_api

Add support for asynchronous trading

dchrostowski opened this issue · 2 comments

Add support for asynchronous trading

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.

Will implement a synchronous trade queue with concurrency using this:

https://gist.github.com/dchrostowski/aea07510fe5e76104eda25d740788a0f