Support Board
Date/Time: Wed, 30 Apr 2025 11:05:42 +0000
Post From: SIM Master to Live Accounts Order Issue
[2025-04-19 23:33:08] |
user_xyz - Posts: 475 |
I have had this option Simulated Orders: Use Last Trade Price for Fill when Bid Ask Beyond Last Trade Price:Yes set probably since Post #5 which was around 1 year ago. Today I really needed to figure out a solution to this so I changed that option for the first time back to Default No and ran all those tests as shown in screenshots from Post #7. I noticed a few things. 1 - When :No I walked through tick by tick in those screenshots to see exactly what was happening. Ok based on documentation and How Orders Are Filled this is expected but still doesn't make real-world live trading sense. 2 - When Set back to :Yes. Limit Order at 18536.50 got filled/executed/moved to 18537.25. I have placed thousands of limit trades and have NEVER seen it execute at higher like it did today after turning Yes to No back to Yes again. FWIW. In the case of simulated trading, when Trade >> Trade Simulation Mode On is enabled, when this option is set to Yes, when the Bid and Ask price are both above the Last trade price or both below the Last trade price, then the last trade price is used to fill orders according to the How Orders are Filled rules.
Normally this option should be set to No, but you may want to set it to Yes in the case where Bid/Ask prices could be beyond the Last trade price and clearly not at price levels which would make sense. More importantly, from the documentation above, when option is set to Yes, the Bid Price is Never above 18536.00 so why does this even fill? When Option was set back to Yes, Limit Order at 18536.50 this is OrderActionSource field. Trade simulation fill. Bid: 18537.25 Ask: 18537.50 Last: 18537.50. Bid ask corrected |