NexusFi: Find Your Edge


Home Menu

 





Using Account Object in NinjaTrader


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one maxi with 8 posts (0 thanks)
    2. looks_two MWinfrey with 7 posts (1 thanks)
    3. looks_3 vvhg with 6 posts (3 thanks)
    4. looks_4 terratec with 5 posts (1 thanks)
    1. trending_up 10,851 views
    2. thumb_up 5 thanks given
    3. group 6 followers
    1. forum 26 posts
    2. attach_file 0 attachments




 
Search this Thread

Using Account Object in NinjaTrader

  #21 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335


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

vvhg

Well yuck...thanks for your effort.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trade idea based off three indicators.
Traders Hideout
MC PL editor upgrade
MultiCharts
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Quant vue
Trading Reviews and Vendors
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
  #22 (permalink)
 
vvhg's Avatar
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
Posts: 1,583 since Mar 2011
Thanks Given: 1,016
Thanks Received: 2,824

Getting there:

 
Code
Print(accnt.Name + " " + 	accnt.UserData.DocumentElement.InnerTet.ToString());
yields Sim101 099214550.696666666199107275.348333333299214544.8086666663990

note that the cash value of my Sim101 is $107275.35

So it is in there...

vvhg

Hic Rhodos, hic salta.
Reply With Quote
  #23 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335



vvhg View Post
Getting there:

 
Code
Print(accnt.Name + " " + 	accnt.UserData.DocumentElement.InnerTet.ToString());
yields Sim101 099214550.696666666199107275.348333333299214544.8086666663990

note that the cash value of my Sim101 is $107275.35

So it is in there...

vvhg

hm...cool. i'll experiment some some.

Reply With Quote
  #24 (permalink)
 
vvhg's Avatar
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
Posts: 1,583 since Mar 2011
Thanks Given: 1,016
Thanks Received: 2,824


MWinfrey View Post
hm...cool. i'll experiment some some.

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

vvhg

Hic Rhodos, hic salta.
Reply With Quote
Thanked by:
  #25 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335

I have an answer...contacted NT Support and they referred me to the documentation NinjaTrader Version 7

Can't believe I didn't look there before asking anyone. Guess I was wanted some spoon feeding.

Reply With Quote
Thanked by:
  #26 (permalink)
 
vvhg's Avatar
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
Posts: 1,583 since Mar 2011
Thanks Given: 1,016
Thanks Received: 2,824


MWinfrey View Post
I have an answer...contacted NT Support and they referred me to the documentation NinjaTrader Version 7

Can't believe I didn't look there before asking anyone. Guess I was wanted some spoon feeding.

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

vvhg

Hic Rhodos, hic salta.
Reply With Quote
  #27 (permalink)
 
MWinfrey's Avatar
 MWinfrey 
Lubbock TX
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
Posts: 1,878 since Jul 2009
Thanks Given: 1,450
Thanks Received: 3,335


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

vvhg

in a strategy

Reply With Quote




Last Updated on November 20, 2012


© 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
no new posts