Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Reading account value and adjusting order size

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

    Reading account value and adjusting order size

    hey there,

    I thought I saw somewhere that NT8 can read the account value, if I'm not making this up, what's a good way to access this with onBarUpdate();

    This way I would make sure that I could do $10K blocks for each entry, and once the account is used up, to not allow any more entries.

    Curious if anyone has done this already also, and if this is actually a feature in NT8

    #2
    Hello lmatiukas,

    Thank you for writing in.

    You can use Account.Get(): http://ninjatrader.com/support/helpG...en-us/?get.htm

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by traderqz, Yesterday, 04:32 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by f.saeidi, Today, 05:56 AM
    1 response
    3 views
    0 likes
    Last Post Jltarrau  
    Started by Jltarrau, Today, 05:57 AM
    0 responses
    4 views
    0 likes
    Last Post Jltarrau  
    Started by Stanfillirenfro, Yesterday, 09:19 AM
    7 responses
    51 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by TraderCro, 04-12-2024, 11:36 AM
    4 responses
    70 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X