darwinex / dwxconnect

Seamlessly link any Trading Strategy in ANY programming language to Darwinex liquidity via MetaTrader 4 or 5. DWX Connect is your very own, fully customizable Trading API!
BSD 3-Clause "New" or "Revised" License
158 stars 84 forks source link

How to handle concurrent requests ? #21

Closed vivek-ram closed 1 year ago

vivek-ram commented 1 year ago

Hi so i am getting parallel alerts from trading view like same time buy signal and it is placing 4 orders is there any way to place only one order when having concurrent requests ?

elvinex commented 1 year ago

You could store the last trade time and only allow a new trade after x minutes.