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 DJ888, 04-16-2024, 06:09 PM
                4 responses
                12 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by terofs, Today, 04:18 PM
                0 responses
                9 views
                0 likes
                Last Post terofs
                by terofs
                 
                Started by nandhumca, Today, 03:41 PM
                0 responses
                6 views
                0 likes
                Last Post nandhumca  
                Started by The_Sec, Today, 03:37 PM
                0 responses
                3 views
                0 likes
                Last Post The_Sec
                by The_Sec
                 
                Started by GwFutures1988, Today, 02:48 PM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_Clayton  
                Working...
                X