Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Applying ATM Strategy Programmatically upon existing Position.
Collapse
X
-
Applying ATM Strategy Programmatically upon existing Position.
Hi there,
I see there is an option on Positions Tab to Apply ATM Strategy to a Position, in which case it creates the Limit and Stop Orders as per the Strategy. Is there a way to do that programmatically ?i.e.Iterate through the Positions for the Account and check if there is no ATM Strategy running on the position then apply certain ATM Strategy upon it.
thanksTags: None
-
Hello vivekniwas,
Thank you for your reply.
This would not be possible with an ATM Strategy as there's not a supported method to add an ATM to a position from NinjaScript after the position has been opened, but it would be theoretically possible to create an Add-on that would monitor an account and automatically submit a stop loss and profit target.
Please let us know if we may be of further assistance to you.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
42 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
29 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
46 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
38 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment