NexusFi: Find Your Edge


Home Menu

 



Showing results 1 to 6 of 6
Search: Posts Made By: vvhg
Forum: NinjaTrader November 20th, 2012, 10:47 AM
Replies: 26
Views: 10,878
Posted By vvhg
Oh, so you are using this in a strategy? Or are...

Oh, so you are using this in a strategy? Or are you instantiating a strategy to access it?

vvhg
Forum: NinjaTrader November 19th, 2012, 12:45 PM
Replies: 26
Views: 10,878
Posted By vvhg
"InnerXml" might be even better suited to grab...

"InnerXml" might be even better suited to grab the account value...

vvhg
Forum: NinjaTrader November 19th, 2012, 12:17 PM
Replies: 26
Views: 10,878
Posted By vvhg
Getting there: Print(accnt.Name + " " +...

Getting there:

Print(accnt.Name + " " + accnt.UserData.DocumentElement.InnerTet.ToString());

yields Sim101 099214550.696666666199107275.348333333299214544.8086666663990

note that the cash...
Forum: NinjaTrader November 19th, 2012, 12:09 PM
Replies: 26
Views: 10,878
Posted By vvhg
Yes, I get the exact same behavior, on all...

Yes, I get the exact same behavior, on all items...

vvhg
Forum: NinjaTrader November 19th, 2012, 11:31 AM
Replies: 26
Views: 10,878
Posted By vvhg
Do you get any errors? Did you check for null? ...

Do you get any errors?
Did you check for null?
And have you tried:
NinjaTrader.Cbi.Globals.Accounts[0 or whatever acct you want].GetAccountValue(AccountItem.CashValue, Currency.UsDollar).Value
...
Forum: NinjaTrader November 19th, 2012, 11:18 AM
Replies: 26
Views: 10,878
Posted By vvhg
I think you have to get the Account object first...

I think you have to get the Account object first like this:
NinjaTrader.Cbi.Globals.Accounts[0].GetAccountValue(AccountItem.CashValue, Currency.UsDollar);


This post might be helpful in finding...
Showing results 1 to 6 of 6

What unexpected challenges have you encountered while trading on a "Funded Trader" platform?

 


 
 


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top