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 judysamnt7, 03-13-2023, 09:11 AM
      4 responses
      59 views
      0 likes
      Last Post DynamicTest  
      Started by ScottWalsh, Today, 06:52 PM
      4 responses
      36 views
      0 likes
      Last Post ScottWalsh  
      Started by olisav57, Today, 07:39 PM
      0 responses
      7 views
      0 likes
      Last Post olisav57  
      Started by trilliantrader, Today, 03:01 PM
      2 responses
      21 views
      0 likes
      Last Post helpwanted  
      Started by cre8able, Today, 07:24 PM
      0 responses
      10 views
      0 likes
      Last Post cre8able  
      Working...
      X