Announcement

Collapse
No announcement yet.

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 brucerobinson, Yesterday, 07:08 AM
      5 responses
      36 views
      0 likes
      Last Post brucerobinson  
      Started by reginaldgarcia, Today, 04:00 AM
      0 responses
      3 views
      0 likes
      Last Post reginaldgarcia  
      Started by dominikstiffel, Today, 03:56 AM
      0 responses
      8 views
      0 likes
      Last Post dominikstiffel  
      Started by gustavobp, Today, 02:50 AM
      0 responses
      7 views
      0 likes
      Last Post gustavobp  
      Started by rubiijonson, Today, 01:02 AM
      0 responses
      5 views
      0 likes
      Last Post rubiijonson  
      Working...
      X