If I use AtmStrategyCreate and make 2 orders and then use MyAtmStrategyClose , would it(MyAtmStrategyClose) close all two orders?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
what is the functionality of MyAtmStrategyClose for an ATM with quantity more than 1
Collapse
X
-
Hello bosajin,
Thank you for your post.
AtmStrategyCreate could be used to create an order for two separate ATM Strategies. Each ATM Strategy order contains a unique atmStrategyId and a unique orderId that can be referenced to get information from or modify an ATM Strategy that is created by using AtmStrategyCreate.
Please review this help guide link about AtmStrategyCreate for more information - https://ninjatrader.com/support/help...tegycreate.htm
If you are looking to cancel an entry order, AtmStrategyCancelEntryOrder could be used to cancel an entry order based on the order's unique orderId.
Also, please see this help guide about how AtmStrategyCancelEntryOrder is used - https://ninjatrader.com/support/help...entryorder.htm
AtmStrategyClose could be used if you are looking to cancel any working orders AND close any open position of a strategy based on the Strategy's unique atmStrategyId.
Please see this help guide link for more information about AtmStrategyClose - https://ninjatrader.com/support/help...ategyclose.htm
Let us know if we may further assist.Brandon H.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bubblegum, 03-18-2024, 10:41 AM
|
4 responses
51 views
0 likes
|
Last Post Today, 05:23 AM | ||
Started by kujista, Yesterday, 12:39 AM
|
3 responses
15 views
0 likes
|
Last Post Today, 05:19 AM | ||
Started by Yasharandom, 05-04-2024, 07:45 AM
|
2 responses
24 views
0 likes
|
Last Post
by Yasharandom
Today, 05:16 AM
|
||
Started by francesjandujar, Today, 05:15 AM
|
0 responses
2 views
0 likes
|
Last Post Today, 05:15 AM | ||
Started by francesjandujar, Today, 05:14 AM
|
0 responses
0 views
0 likes
|
Last Post Today, 05:14 AM |
Comment