Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trading Order Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Trading Order Error

    Dear Mr/Ms,

    My auto trading strategy is running well in real time test, but when I put it into production, it run into order error problem. The following is the error from trace file:

    2013-09-12 09:18:02:357 (Pats) Cbi.OrderStatusEventArgs.Process: Order='3baa9bad75e5462f9e79b7e1e76c325f/A-H01HP317' Name='HSI Long' New state=Initialized Instrument='HSI 09-13' Action=Buy Limit price=0 Stop price=0 Quantity=1 Type=Market Filled=0 Fill price=0 Error=NoError Native error=''
    2013-09-12 09:18:02:450 (Pats) Cbi.OrderStatusEventArgs.Process: Order='3baa9bad75e5462f9e79b7e1e76c325f/A-H01HP317' Name='HSI Long' New state=Rejected Instrument='HSI 09-13' Action=Buy Limit price=0 Stop price=0 Quantity=1 Type=Market Filled=0 Fill price=0 Error=OrderRejected Native error='Combination order type 'Market' and time-in-force 'Day' not supported by exchange 'Hkfe''
    2013-09-12 09:18:02:450 Strategy.StrategyBase.Process.CancelOrdersClosePos itions1: Order='3baa9bad75e5462f9e79b7e1e76c325f/A-H01HP317' Name='HSI Long' State=Rejected Instrument='HSI 09-13' Action=Buy Limit price=0 Stop price=0 Quantity=1 Strategy='HSIreal' Type=Market Tif=Day Oco='' Filled=0 Fill price=0 Token='9a69b1a12c4f45709ac0c1b7cc58700a' Gtd='2099-12-1 0:00:00'
    2013-09-12 09:18:02:450 Strategy.StrategyBase.Process.CancelOrdersClosePos itions2: isTerminal=False


    I am using PatSystem API and can place order manually. I also try the Time-in-force type: GTC. It also run into the same problem.

    Thanks and Regards

    Jason

    #2
    Hello Jason,

    Can you please send me all your log and trace files. Go to Control Center-->Help-->Mail to Support in NinjaTrader. Put 'Att Jason, Trading Order Error' in the subject field and enable 'Log and trace files'.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    71 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    39 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    63 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X