Support Board
Date/Time: Mon, 12 May 2025 00:05:41 +0000
Post From: Result=sc.BuyOrder/sc.SellOrder for non-Market orders
[2016-05-24 22:59:37] |
User754985 - Posts: 109 |
I have discovered by experience that if OrderType is other than the "Market", then in case order placement was successful, the Result=sc.BuyOrder(NewTargetOrder) will show either positive OR NEGATIVE quantity of successfully submitted order. I first found this out for OCO orders, and then Limit and Stop. What puzzled me also is that in case OrderType=LIMIT, the successfully submitted sc.SellOrder, will generate a positive result. What is the logic? |