TIA
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
Dynamic Account Value?
Collapse
X
-
I'm pretty sure i have it set as advised.
In the order properties of strategy dialog:
Account size:10000
Set order quantity: by account size
Time in force: Gtc
The strategy is running live sim, update on close = true.
I'm specifying order size in the strategy with integer quantities.
On every OnBarUpdate() it Print() realtime p/l and AccountSize. The realtime p/l is updating but the AccountSize doesn't seem to change.
Comment
-
darckeen,
When you use account size for your order placement it should not care what integer quantity you place and instead always try to max out the number of shares by account size. Please confirm you are seeing this behavior to ensure you have the correct settings.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Haiasi, Today, 06:53 PM
|
1 response
4 views
0 likes
|
Last Post Today, 07:05 PM | ||
Started by ScottWalsh, Today, 06:52 PM
|
1 response
12 views
0 likes
|
Last Post Today, 07:02 PM | ||
Started by ScottW, Today, 06:09 PM
|
1 response
5 views
0 likes
|
Last Post Today, 06:53 PM | ||
Started by ftsc2022, 10-25-2022, 12:03 PM
|
5 responses
256 views
0 likes
|
Last Post Today, 06:48 PM | ||
Started by Board game geek, 10-29-2023, 12:00 PM
|
14 responses
244 views
0 likes
|
Last Post
by DJ888
Today, 05:38 PM
|
Comment