Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 11:38:40 +0000



Post From: SCT_ORDERTYPE_LIMIT_CHASE is using Limit Orders (not chase)

[2023-05-12 12:08:57]
User807771 - Posts: 12
Attached is the file. 99% of this code is the from one of the example files. I've pulled out the order block code here in case you immediately see a glaring problem.


s_SCNewOrder Order;
Order.Price1 = r_OrderPrice;
Order.OrderType = SCT_ORDERTYPE_LIMIT_CHASE;
Order.OrderQuantity = sc.TradeWindowOrderQuantity;

int Result = static_cast<int>(sc.SellOrder(Order));
if (Result > 0)
{
}

attachmentTradingExample.cpp - Attached On 2023-05-12 11:53:02 UTC - Size: 14.93 KB - 93 views
Attachment Deleted.