Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to lock out trader from submitting orders via code

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

    How to lock out trader from submitting orders via code

    is it possible to use NT API to lock out a trader from submitting further orders until the next day or at a certain time?

    I have been able to lock the user from submitting orders when certain conditions are met, but when NT is restarted the trader can continue to trade.

    Any code examples or pointers in the right direction would help.

    Paul.

    #2
    Hello phayes,

    That would not be possible and we also can't make any suggestions on how to prevent a user from doing actions that the platform offers. Per the platforms design the user should always be able to manage their account without any third party item blocking their way, that could lead to the user being unable to manage their account in a critical situation.

    You can turn on account level loss limits which prevent you from trading if you hit a certain loss amount. If you use a NinjaTrader account that is found on the page https://account.ninjatrader.com/settings/accounts

    Comment


      #3
      Thanks, Jesse, I agree that a 3rd party should not completely block the trader, thanks for your insights.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      20 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      119 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      63 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      45 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X