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

^SP500 data

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

    ^SP500 data

    I have a subscription to this Index on IQFeed and get data fine and real time using standard ninja minute second bars and even works with Renko which has tick as builtfrom ...
    Is there any restriction as to the real-time display of this data as when i try using a custom bar type i have written - when i load the chart all looks good but then no real time updates are coming through. If i reload all historical i get up to date then stops - i have a 30 sec ninja bar running alongside getting updates so i know the subscription is fine.
    Any insight
    thanks
    Last edited by soulfx; 09-27-2022, 11:52 AM.

    #2
    Hello soulfx,

    Are other bar types forming new bars like a 100 Tick chart?

    Try using a custom bar type from the User App Share. Does this make new bars?
    (Update March 11th, 2020 – Fix for TickReplay, calculates values if bar object is mid-session and have not been calculated as least once) This is a conversion of the UniRenko ‐ Universal Renko BarType developed and originally coded for the NinjaTrader 7 platform by monpere. Please contact the original author for any questions or comments. […]


    If other bar types are forming new bars and yours is not, then likely the AddBar() method is not be called in the logic of the script.

    Debug the script using prints to confirm that OnDataPoint() is updating, and that your logic calling AddBar() is being reached.

    Below is a link to a forum post on using Print() to understand behavior.
    https://ninjatrader.com/support/foru...121#post791121
    Last edited by NinjaTrader_ChelseaB; 09-27-2022, 02:02 PM.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks Chelsea, i did already put some prints in at the OnDataPoint() call - seems i had extra data checks to filter some things and for SP500 it stopped the process and returned
      All resolved now and i stripped down to another custom bar type
      thanks for suggestions

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by wzgy0920, Yesterday, 09:53 PM
      2 responses
      49 views
      0 likes
      Last Post wzgy0920  
      Started by Kensonprib, 04-28-2021, 10:11 AM
      5 responses
      191 views
      0 likes
      Last Post Hasadafa  
      Started by GussJ, 03-04-2020, 03:11 PM
      11 responses
      3,230 views
      0 likes
      Last Post xiinteractive  
      Started by andrewtrades, Today, 04:57 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by chbruno, Today, 04:10 PM
      0 responses
      7 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Working...
      X