NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 04-14-2010, 08:06 AM   #1
tonyh
Member
 
Join Date: Oct 2007
Location: Florida
Posts: 94
Thanks: 0
Thanked 0 times in 0 posts
Default Brokerage Account Balances - Variable Names - TD Ameritrade

Hello:

I have reviewed the thread (http://www.ninjatrader-support2.com/...ead.php?t=5474) for determining what account information is provided by different brokerages. According to this thread TD Ameritrade provides the following account information:

TD Ameritrade
Values exclude commissions
Buying Power
Cash Value
Realized PnL

What are the variable names associated with these 3 account balances?

Also, is there a SamplePositionSizer code available within NT using above variables (e.g., like IntrabarBacktest, SampleOnOrderUpdate, etc.)? These sample codes are a great help to me!

Thanks.

Tony
tonyh is offline  
Reply With Quote
Old 04-14-2010, 08:58 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

Tony,

Please note that accessing account values is not supported in NT6.5. In NT7 you can use this: http://ninjatrader.com/support/helpG...countvalue.htm

Unfortunately we do not have any position sizer type sample. This would be dependent on what you want to do with your position sizing. You can take a certain size and multiply it by some percentage and do some math to figure out how many contracts/shares you want to buy based off of that.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-14-2010, 11:18 AM   #3
tonyh
Member
 
Join Date: Oct 2007
Location: Florida
Posts: 94
Thanks: 0
Thanked 0 times in 0 posts
Default Get Account Values

Thanks Josh. I guess I'll download NT7 beta. Any idea when NT7 will be out of beta testing?
tonyh is offline  
Reply With Quote
Old 04-14-2010, 11:30 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

tonyh,

Unfortunately I have no time estimate I can provide you with.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-15-2010, 01:08 PM   #5
borland
Member
 
Join Date: Jan 2009
Posts: 94
Thanks: 0
Thanked 14 times in 12 posts
Default

Does the public beta imply you are getting close to a release date? When beta 6 went public, how long after was it before the final release?

It's getting confusing now that the forum is supporting both the beta and the outdated release.
borland is offline  
Reply With Quote
Old 04-15-2010, 01:10 PM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

borland,

We are getting closer to a production release. Historically the beta process lasts for several months.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-15-2010, 02:00 PM   #7
borland
Member
 
Join Date: Jan 2009
Posts: 94
Thanks: 0
Thanked 14 times in 12 posts
Default

I know Josh, but I was asking about the public beta. Normally there is no public beta. I'm just saying the public beta is a bit confusing.
borland is offline  
Reply With Quote
Old 04-15-2010, 02:05 PM   #8
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

borland,

I am not sure what you mean. Public betas are pretty common place for software. Historically, public betas of NT have lasted for several months.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-15-2010, 02:15 PM   #9
borland
Member
 
Join Date: Jan 2009
Posts: 94
Thanks: 0
Thanked 14 times in 12 posts
Default

Several more months. Thanks, that's what I was asking.
borland is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TD Ameritrade teaboy44 Connecting 4 07-14-2009 11:18 PM
TD Ameritrade toptrader Connecting 1 05-15-2009 09:52 AM
TD ameritrade teaboy44 Connecting 1 03-04-2009 01:46 PM
TD Ameritrade? moflaherty Connecting 1 04-07-2008 12:05 PM
Brokerage Account Balances NinjaTrader_Ray Connecting 0 02-06-2008 02:39 PM


All times are GMT -6. The time now is 11:57 AM.