Add support for asynchronous trading
dchrostowski opened this issue · 2 comments
dchrostowski commented
Add support for asynchronous trading
dchrostowski commented
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.
dchrostowski commented
Will implement a synchronous trade queue with concurrency using this:
https://gist.github.com/dchrostowski/aea07510fe5e76104eda25d740788a0f