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.Kate W.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wzgy0920, 04-20-2024, 06:09 PM
|
2 responses
26 views
0 likes
|
Last Post
by wzgy0920
Today, 10:43 PM
|
||
Started by wzgy0920, 02-22-2024, 01:11 AM
|
5 responses
32 views
0 likes
|
Last Post
by wzgy0920
Today, 10:33 PM
|
||
Started by wzgy0920, Yesterday, 09:53 PM
|
2 responses
49 views
0 likes
|
Last Post
by wzgy0920
Today, 10:29 PM
|
||
Started by Kensonprib, 04-28-2021, 10:11 AM
|
5 responses
191 views
0 likes
|
Last Post
by Hasadafa
Today, 10:19 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
11 responses
3,230 views
0 likes
|
Last Post Today, 08:07 PM |
Comment