Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 21:36:33 +0000



ACSIL: Order Request Reject, Code: 73 Text: Order not found by account ID ... a

View Count: 681

[2019-05-24 20:31:45]
TedMar - Posts: 189
why i get folow messeges

on sc.ModifyOrder;
Order Request Reject, Code: 73 Text: Order not found by account ID 16855788 and order ID 990122749. | 2019-05-24 22:05:36.054
this is not used Account and sure not Remembered Order ID.


or sc.CancelOrder
Order Request Reject, Code: 1 Text: The order to be canceled was not found. Order Cancellation failed | 2019-05-24 22:09:23.384

Cancel Order EXAMPLE

// in example is Manual Loop and sc.UpdateAlways = 1;
// orderes are placed or changed direct on the fly without any Close status on connected datafeed

  if (RememberedOrderID != NewOrder.Price1)
  {
    int Result = sc.CancelOrder(RememberedOrderID);
  }


  {
    int Result = (int)sc.BuyOrder(NewOrder);
    if (Result > 0)
    {
        
    RememberedOrderID = NewOrder.InternalOrderID;
      
    }
  }


maybe are changes OrderStatusCode (SCOrderStatusCodeEnum) to fast ?
Date Time Of Last Edit: 2019-05-24 20:34:00
[2019-05-25 07:19:26]
Ackin - Posts: 1865
on sc.ModifyOrder;
Order Request Reject, Code: 73 Text: Order not found by account ID 16855788 and order ID 990122749. | 2019-05-24 22:05:36.054

this is not used Account and sure not Remembered Order ID.

This can happen to be a loop and its condition is a pointer and you call the memory address before the pointer index. There is no zero there but some number that gives you that nonsensical message. Check the initialization of all "LOOPS" to see if the condition is or not exceeded
[2019-05-25 14:43:39]
bradh - Posts: 854
Unless the RememberOrderId is being set somewhere before this line, the value is going to be unknown.

if (RememberedOrderID != NewOrder.Price1)

Not sure why you would compare an OrderID number with a Price. You are trying to cancel an order with a number that has no meaning.
[2019-05-26 03:10:57]
Sierra Chart Engineering - Posts: 104368
In regards to post #1, that is not a Sierra Chart error. It is coming from an external trading service. You must contact your trading service about that.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account