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

Market data update based strategy

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

    Market data update based strategy

    Hi
    If I'm building a strategy that's based only on the Level 1 update information I can collect through OnMarketData(), do I need to include OnBarUpdate() in my code at all?

    Thanks!

    #2
    Hello,

    Thank you for the question.

    OnBarUpdate is a required method, even if you do not use it you still need the method stub in the file otherwise you would get an error on compile.

    Please let me know if I may be of additional assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by llanqui, Today, 03:51 PM
    0 responses
    4 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by Quanto, 04-17-2024, 10:43 AM
    2 responses
    23 views
    0 likes
    Last Post Quanto
    by Quanto
     
    Started by Irukandji, Today, 03:06 PM
    0 responses
    7 views
    0 likes
    Last Post Irukandji  
    Started by cmtjoancolmenero, 04-25-2024, 03:58 PM
    17 responses
    95 views
    0 likes
    Last Post cmtjoancolmenero  
    Started by nleitman, Today, 11:46 AM
    8 responses
    20 views
    0 likes
    Last Post nleitman  
    Working...
    X