Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Two Stop Questions

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

    Two Stop Questions

    I have two questions about placement of stops:

    1. What is the reason why NT cannot place a stop loss and a trailing stop on the same order? Is this something that may be added in the future? It would be great to be able to set a stop loss, and then set a trail stop under the stoploss.

    2. Yes. I know you can code your own fancy stop loss mechanisms. I have tried this by placing a stop loss via SetStopLoss as a function of price, PNL, etc, etc. However, I have found that placing/updating a stop loss every bar (and certainly every tick) is hugely memory intensive. Not only that, but it seems to be very IO intensive ( gauging by the sound of my hard drive during an active order). Why is this? Is it the tick-by-tick test ofthe stop? Any suggestions? Doing a year long backtest or Market Replay of six months brings my system down if I dynamically place the stop loss. It is almost like the prior SetStopLoss still exists and the memory consumption grows without bounds.

    #2
    Hi Serac, for your first question, this is unfortunately a current limitation in the managed mode, the Set() stops would be assigned per signal name / order and thus only one method could be working on it at any time - I will forward your feedback to product management though, so it could be considered for future version of the platform.

    For the second issue, I would need to give your code a run here to see how it behaves - have you considered recoding the logic so the Set method to change / update the stop would only be called if the stop value / price changed at all? This would likely decrease the processing needed.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    50 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    126 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    69 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    42 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X