Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How much cash on account

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How much cash on account

    I m trying to access data on my cash for display and found the following statement:
    GetAccountValue(AccountItem.CashValue)

    If I access it in Initialize() it always sais 0.


    Whats the best way to know the cash available?


    Thanks
    Michael

    #2
    Michael, generally would be only expected to return non zero values on realtime seen bars, i.e. in OnBarUpdate(). Would recheck with this in mind.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by arvidvanstaey, Today, 02:19 PM
    3 responses
    9 views
    0 likes
    Last Post NinjaTrader_Zachary  
    Started by jordanq2, Today, 03:10 PM
    2 responses
    7 views
    0 likes
    Last Post jordanq2  
    Started by traderqz, Today, 12:06 AM
    10 responses
    18 views
    0 likes
    Last Post traderqz  
    Started by algospoke, 04-17-2024, 06:40 PM
    5 responses
    47 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by mmckinnm, Today, 01:34 PM
    3 responses
    7 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X