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 Hwop38, 05-04-2026, 07:02 PM
      0 responses
      176 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      331 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      253 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      356 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      183 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X