Support Board
Date/Time: Mon, 21 Apr 2025 16:32:31 +0000
Post From: How to attached a custom name to an order using s_SCNewOrder::TextTag?
[2025-03-06 02:44:11] |
LTSys2 - Posts: 11 |
int result = static_cast<int>(sc.BuyOrder(order));
result comes back as 4294958298 Docs say... Returns: A return value > 0 indicates the order was successfully submitted. If the value is > 0, then this value indicates the quantity of the submitted order. If the return value is negative, < 0, the order submission was ignored.
The code submitted 1000 not 4294958298! And no order is being placed? And it should have fallen into this code block but it doesn't? if(static_cast<int>(sc.BuyOrder(order)) > 0)
Weird stuff going on! Date Time Of Last Edit: 2025-03-06 02:45:33
|