Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Initial Cash Value

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

    Initial Cash Value

    Hi, is there a way to get the "Initial Cash" Value of the Account in my strategy?

    When i rightclick my account -> edit account , i can see the 100.000 Initial Cash which is my deposit. The CashValue has added all the profit to it.

    I cant find the InitialCash parameter for the AccountItem. The deposit is synchronized with a cloud service but i cant get the correct value.

    I was expecting this:
    Print("InitialCash: "+MonitorAccount.Get(AccountItem.InitialCash, mycurrency));


    thx
    Last edited by Aylin; 03-02-2018, 05:08 AM.

    #2
    Hello Aylin,

    Thank you for your post.

    The Simulation Accounts are the only accounts that have the Initial Cash in the Edit Account menu. As you noticed that value is not available through the Account object.

    You would need to create your own internal variable Initial Cash if you wanted to factor Initial Cash in your strategy.

    Please let me know if you have any questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    239 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    155 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    164 views
    1 like
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    247 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    199 views
    0 likes
    Last Post CarlTrading  
    Working...
    X