Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error on an order sent: "No handle affected"

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

    Error on an order sent: "No handle affected"

    Hello to the community and the NinjaTrader team,

    I'm new to programming but passionate about trading.
    I have been reading up on programming via the ninja platform; and like many who are just starting out I am running into a problem.
    I've been through almost all the forum to find a solution but obviously, I haven't found it.
    I have created a bot that works very well in "backtesting" (without any problem) and obviously when it trades live, I find myself with a lot of errors. For most of them, the errors are solved but for this one, I can't find a solution. That's why I describe my problem:

    When I launch the Bot, the conditions for opening a position are all validated. And when I launch a market order via "EnterLong()" or "EnterShort() I get an error that says "Unable to submit order: no handle affected".
    I don't understand this error and I can't find a way to solve it.

    If anyone can help me, thank you!

    (P.S. I don't speak English very well, so I'll use a translator, sorry if the written English is not perfect)​

    #2
    For people who happen to come across this post and have the same known problem as the one I quoted.
    The error is not related to a problem of writing code, nor to the ninja trader API but to a server relationship between the platform and the broker. I reported the problem to my broker and there was a momentary loss of connection... which caused these errors to recur.

    Post resolved.​​

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    40 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    27 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    44 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    37 views
    0 likes
    Last Post CarlTrading  
    Working...
    X