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

Detect if Provider has Historical Tick Data

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

    Detect if Provider has Historical Tick Data

    Detect if Provider has Historical Tick Data

    Is there a way in NinjaScript to detect if the connected data feed has historical tick data? I need to be able to this in order to know if I can load cumulative delta in the indicator or not.

    #2
    Hello zextra,

    Thank you for your note.

    There is no supported method to check if the provider connected to provides historical tick data, however this may be possible.

    You could create a list of providers and whether or not they provide historical tick data, and reference this list in your script. The following link details which providers provide which times of data.



    Below would be an example of how to create list of a custom object type. In your case your custom object would be the providers name and a bool for whether or not they provide the data, rather than the date and holiday as in the example.

    Holiday Tomorrow Indicator


    Please let us know if you need further assistance.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      How can I check which data provider is connected?

      Comment


        #4
        Hello zextra,

        The attached screen shot would print the current connection.

        See the following section of our helpguide,


        Please let us know if you need further assistance.
        Attached Files
        Alan P.NinjaTrader Customer Service

        Comment


          #5
          This doesn't work reliably. If I change my connection name to say "My Connection", then it prints

          Connection: My Connection

          So, I don't know which data provider it is. Please advise
          Last edited by zextra; 05-23-2018, 02:19 AM.

          Comment


            #6
            Hello zextra,

            You could try BrandName rather than Name for the account connection.

            See the attached screen shot.

            See Brandname,


            Please let us know if you need further assistance.
            Attached Files
            Alan P.NinjaTrader Customer Service

            Comment


              #7
              This still doesn't work reliably. For example, how can you tell if a Kinetick connection is end of day data only or has tick data

              Comment


                #8
                Hello zextra,

                What you're attempting to do may be possible however would be unsupported. I will submit a feature request on your behalf for this.

                In post #2 I describe making a list and assigning which providers offer tick data and which do not. This would be unsupported but the approach I'd use.

                In the support department at NinjaTrader we do not create, debug, or modify code for our clients. This is so that we can maintain a high level of service for all of our clients.

                You can also contact a professional NinjaScript Consultants who would be eager to create or modify a script at your request or assist you with your script. Please let me know if you would like our business development follow up with you with a list of professional NinjaScript Consultants who would be happy to create this script or any others at your request.

                Please let us know if you need further assistance.
                Alan P.NinjaTrader Customer Service

                Comment


                  #9
                  Yes, that would be great to have to feature to determine if the connected data feed has tick data. I don't need a NinjaScript Consultant, I am an experienced programmer and this looks to be the case where it is currently impossible to program what is desired, so I will wait for the feature request to be completed.

                  Comment


                    #10
                    Has this feature request been completed?

                    Comment


                      #11
                      Hello zextra,

                      You're interest is being tracked internally with the ticket ID SFT-3238. The ID number for this ticket will be noted in the Release Notes page of the help guide if it gets implemented. We collect interest in feature requests before determining if the feature should be implemented. For that reason we cannot offer an ETA or promise of fulfillment. As of now, there is only one vote to drive interest behind this feature and the feature has not been implemented.

                      If there is anything else we can do to assist, please let us know.
                      JimNinjaTrader Customer Service

                      Comment


                        #12
                        Has anything been done about this?

                        Comment


                          #13
                          Hello zextra,

                          Thanks for your message.

                          We collect interest in votes before determining if a feature should be implemented. There is currently one vote for SFT-3238 and the feature has not been implemented.

                          In the meantime, you could consider to make a BarsRequest for single tick data, and if you find that the data is not retrieved, you can alert the user that the data is not available.

                          More information on BarsRequest can be found here - https://ninjatrader.com/support/help...arsrequest.htm

                          Please let us know if there is anything else we can do to help.
                          JimNinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by bortz, 11-06-2023, 08:04 AM
                          47 responses
                          1,607 views
                          0 likes
                          Last Post aligator  
                          Started by jaybedreamin, Today, 05:56 PM
                          0 responses
                          9 views
                          0 likes
                          Last Post jaybedreamin  
                          Started by DJ888, 04-16-2024, 06:09 PM
                          6 responses
                          19 views
                          0 likes
                          Last Post DJ888
                          by DJ888
                           
                          Started by Jon17, Today, 04:33 PM
                          0 responses
                          6 views
                          0 likes
                          Last Post Jon17
                          by Jon17
                           
                          Started by Javierw.ok, Today, 04:12 PM
                          0 responses
                          15 views
                          0 likes
                          Last Post Javierw.ok  
                          Working...
                          X