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

Dividends accessible in indicator/ strategy?

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

    Dividends accessible in indicator/ strategy?

    Is there a way to "see" within an indicator or strategy when a share goes ex-dividend and how much?

    #2
    FireFly, yes you can access this info from NT7's OnFundamentalData() -

    BertrandNinjaTrader Customer Service

    Comment


      #3
      I'm afraid this is not what I need. What I mean is that I want to access the historical dividend information that NT uses to do dividend adjustment on shares when selected. NT "knows" this information because it is stored somewhere (after downloading from a supplier like Yahoo).

      Comment


        #4
        Thanks for clarifying - this info is unfortunately not accessible programmatically with NS.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Is there then another way to do it? For example, if only I could generate a table with ex-dividend dates and the amount of dividend for each instrument (like the table that I see when I press the "splits and dividends" button in the Instruments Manager), then I can program a lookup table by myself. This can even be an eternal file that I read, no problem for me. Only problem is: how can I generate such a table from NT's database?

          Comment


            #6
            You can for sure read the info from a file in NinjaScript / C#, however you could not extract that data from the database unfortunately, you would need to look for it on Yahoo Finance or other services yourself and work it in.
            BertrandNinjaTrader Customer Service

            Comment


              #7
              While doing a search on the subject of dividends, I found this topic from myself from 2 years ago

              I would like to ask the same question again, because perhaps (I hope) some functionality has been added to NT in the mean time:

              Is it somehow possible to access the ex-dividend dates and amounts of dividend paid from the NT database from an indicator or strategy? Or if this is not possible, is there ANY way to extract this data from the NT database such that I can write it to a file? I can then just read that file with my indicator.

              Please advice how to access the dividend info that is present in the Instrument manager!

              Comment


                #8
                Unfortunately no new input I could point you to here firefly. Accessing this info directly from the database could not be supported, however I will make sure to note this request on our product enhancement tracking lists.
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Max238, Today, 01:28 AM
                2 responses
                26 views
                0 likes
                Last Post NinjaTrader_ChristopherJ  
                Started by Shansen, 08-30-2019, 10:18 PM
                25 responses
                949 views
                0 likes
                Last Post NinjaTrader_BrandonH  
                Started by JonesJoker, 04-22-2024, 12:23 PM
                8 responses
                41 views
                0 likes
                Last Post JonesJoker  
                Started by timko, Today, 06:45 AM
                0 responses
                3 views
                0 likes
                Last Post timko
                by timko
                 
                Started by Waxavi, 04-19-2024, 02:10 AM
                2 responses
                39 views
                0 likes
                Last Post poeds
                by poeds
                 
                Working...
                X