|
Create order code bug
Dear FXCm
I am facing a bug, when I try to create an order, sometimes the order is created twice. for example:
I create the order using the folowing command
oTradeDesk1.OpenTrade acct, Me.cmbCurrency.Text, isBuy, CLng(Lots), Rate, QuoteID, 0, Stops, Limit, Trail, OrderID, Dealer
sometimes and not all time the command is executed twice and I see in the opened posotions table 2 identical entries.
Is that a bug or I am using the code in wrong way.
Best Regards
|