quantatrading / Quanta-exoTrader

Quanta exoTrader is an advanced cryptocurrency trading algorithm designed to optimise trading through automation and detailed technical analysis, suitable for both novice and experienced traders.
9 stars 1 forks source link

[BUG] Under certain circumstances, duplicate orders can be posted #74

Open quantatrading opened 3 months ago

quantatrading commented 3 months ago

Describe the bug Under certain circumstances, multiple buy or sell market orders can be posted.

Related to TV or exoTrader exoTrader

quantatrading commented 3 months ago

Root cause looks like promises that should be returned from the market order method are cleared by gb core if the return does not take place before a time out.

This silent fail means that neither the success or failure are processed in the promise chain and thus the epoch does not get written into state

quantatrading commented 3 months ago

Testing in live