Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
GetAccountValue doesn't get correct value
Collapse
X
-
GetAccountValue doesn't get correct value
I could not get the correct value on GetAccountValue(AccountItem.CashValue,Currency.UsD ollar) code on my indicator. I am using a market replay connection and normally it has 100000 cash value. I have checked my connection and my code is this Replay101.GetAccountValue(AccountItem.CashValue,Cu rrency.UsDollar). I think it is correct but still it output $ 0. Need some help on this one.Tags: None
-
A value of 0 will always be returned on historical data. However when running real time replay data this does not count as historical.
You can use this to print out the account value:
Print(GetAccountValue(AccountItem.CashValue));
Let me know if I can further assist.LanceNinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
593 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
554 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment