Login Page - Create Account

Support Board


Date/Time: Sat, 27 Apr 2024 02:08:26 +0000



Post From: ACSIL howto get working OrderID/FilledPrice in ReplayMode (Sim)

[2018-12-09 17:29:34]
TedMar - Posts: 189
Hi, im not understand how i can get OrderID and FilledPrice from manual placed Order in Replay mode.

1.) i tryit like this manual Automated Trading From an Advanced Custom Study: sc.GetOrderByIndex to get Open OrderID

But i get still InternalOrderID == 173365328

2.) Im not sure , but is OrderID needed o get AvgFillPrice from s_SCTradeOrder Structure Members? Automated Trading From an Advanced Custom Study: [Type: double] AvgFillPrice

3.) sc.GetOrderFillEntry(0,FillPrice) together with sc.GetOrderFillArraySize() result is 0