Support Board
Date/Time: Tue, 10 Jun 2025 21:44:30 +0000
Backtesting - Trade Order Error Quantities
View Count: 522
[2022-11-10 23:43:00] |
Alex Q - Posts: 115 |
I'm trying to do some back-testing, however I am getting errors and trades are not executing. It is saying that there is a discrepancy between the parent order quantities and the attached order quantities. This isn't the case, and I have been using these brackets for sim trading for some time now without issue. I've attached a few images of the trade window with order configuration/quantities, and the log is below. Thanks for your help! Cleared global profit/loss management data for Sim1. | 2022-11-10 15:39:25.742 Cleared trade data | Symbol: [Sim]MESZ22 | TradeAccount: Sim1 | 2022-11-10 15:39:25.742 Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:26.690 * TradeActivity files query time: 1.010766 seconds. Entries: 0. Current queries: 1 | 2022-11-10 15:39:26.753 Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:26.792 * Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:26.847 * TradeActivity files query time: 0.001652 seconds. Entries: 0. Current queries: 2 | 2022-11-10 15:39:26.889 TradeActivity files query time: 0.020176 seconds. Entries: 0. Current queries: 1 | 2022-11-10 15:39:26.910 Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:26.969 * Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:27.015 * Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:27.035 * Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:27.035 * Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:27.079 * Trade Order Error - The order quantity for the Parent is 1 and this is less than the total order quantity of 2 for the Attached Orders. Adjust the order quantities so the parent is greater or equal to the Attached Orders. | 2022-11-10 15:39:27.449 * Cleared trade data | Symbol: [Sim]ESZ22 | TradeAccount: Sim1 | 2022-11-10 15:39:27.481 |
Attachment Deleted. ![]() ![]() |
[2022-11-11 18:35:27] |
John - SC Support - Posts: 40327 |
Either you are not putting in the order from the chart for which the Trade Window images you sent are associated, or you are entering the orders from an automated system, such as the Spreadsheet Study, in which the quantities are set in the system and not by the Trade Window. The Trade Window you show has a quantity of 3 and the Targets and Stops match the total order quantity - so all is good there. But the rejection you are getting is showing a quantity of 1 for the parent and 2 for the Attached Orders, which does not match that Trade Window. Keep in mind that each chart has a Trade Window associated with it so you need be adjusting the information for the Trade Window for that chart. Refer to the following: Basic Trading and the Trade Window: Trade Window Settings Not Applying to Chart or Trading DOM For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2022-11-11 18:38:38] |
Alex Q - Posts: 115 |
John, as always, thank you for your time! The issue is within the spreadsheet. I was unaware that I needed to input the order quantity into the sheet itself to match the Trade Window. Once these totals matched there has been no issue! Thank you very much!
|
To post a message in this thread, you need to log in with your Sierra Chart account: