PDA

View Full Version : please add functionality to Ninja


ashaman
09-15-2010, 08:49 AM
When using Tradestation in real time I can gain access to the account properties by using the following reserved words :
RTGetNumPositions = GetNumPositions(AccountID);
RTUnrealizedPL = GetRTUnrealizedPL (AccountID);
RTRealizedPL = GetRTRealizedPL (AccountID);
RTAccountNetWorth = GetRTAccountNetWorth(AccountID);
RTOvernightBuyPower = GetRTOvernightBuyingPower(AccountID);
RTDaytradingBuyPower = GetRTDaytradingBuyingPower(AccountID);
RTPositionQuantity = GetPositionQuantity(vSymbolName, AccountID);

Is there a way to access these properties of the account for Interactive Brokers? If not can you add this functionality in the future?
These functions are highly important for me since they allow me to manage risk for the whole account and manage a large portfolio of different symbols.


thanks,
NC.

NinjaTrader_RyanM
09-15-2010, 08:55 AM
Hello ashaman,

Thank you for your post.

NinjaTrader 7 introduces some new account properties you can access. You can see the properties available.

http://www.ninjatrader.com/support/helpGuides/nt7/getaccountvalue.htm

Not all the ones you listed will be available. Thank you for your suggestion. We're always looking to enhance our platform.

ashaman
09-15-2010, 09:26 AM
Ryan thanks,

however these functions you directed me to are not available through the DLL for use in the tradestation platform.
http://www.ninjatrader.com/support/helpGuides/nt7/functions2.htm

let me try and explain what i am trying to achieve:
TS send an entry signal only after checking that the maximum risk for the whole account is not exceeded . since I want TS to send orders to IB I need access to IB account information to check for the real time account status , before letting TS send an order through the ATI to IB.

the new functions you directed me to are only available in NingaScript , could you make them also available in the DLL for use inside Tradestion?

thanks,

NC.

NinjaTrader_RyanM
09-15-2010, 09:30 AM
I see. Thanks for clarifying and the suggestion.