Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Splits

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

    Splits

    Hello, I would like to know if there is any way to extract the splits dates of the financial instruments from ninjascript.

    #2
    I think this have to use C# knowledge already.

    Comment


      #3
      Hello 7robert,

      You can access the splits for an instrument using the MasterInstrument property:

      Code:
      Instrument.MasterInstrument.Splits
      You could loop over that like a normal collection, The collection contains Split type objects which have two properties:
      Code:
      Split s;
      s.Date  a DateTime
      s.Factor a Double

      I look forward to being of further assistance.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      33 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 05-10-2026, 08:12 PM
      0 responses
      22 views
      0 likes
      Last Post CarlTrading  
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      184 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      343 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      264 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X