How can I close all my positions at specific Net Liquidation?
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
How to close position at specific Net Liquidation
Collapse
X
-
Hello dieci,
Are you referring to the AccountItem.NetLiquidation?
Have you confirmed this information is provided by your broker?
If so, you will need to make custom logic that gets the Account.Get(AccountItem.NetLiquidation) and closes the position.
And more advanced, also/instead add a handler method to the AccountItemUpdate event.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by martini, Yesterday, 04:45 PM
|
3 responses
26 views
0 likes
|
Last Post Today, 08:38 AM | ||
Started by Tim-c, Today, 08:36 AM
|
0 responses
1 view
0 likes
|
Last Post
by Tim-c
Today, 08:36 AM
|
||
Started by Mestor, Today, 03:15 AM
|
2 responses
10 views
0 likes
|
Last Post
by Mestor
Today, 08:36 AM
|
||
Started by roblogic, 11-30-2023, 06:20 PM
|
57 responses
1,364 views
0 likes
|
Last Post
by playr101
Today, 08:35 AM
|
||
Started by Padan, Today, 02:02 AM
|
2 responses
10 views
0 likes
|
Last Post
by Padan
Today, 08:34 AM
|
Comment