Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding TICK as a multi instrument

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

    Adding TICK as a multi instrument

    Hi Guys,

    I'm trying to access TICK data inside my strategy using
    Add("TICK", PeriodType.Minute, 5); //BarsArray[1]

    but I'm getting an errror

    "The strategy 'strategy' has called the Add() method with an invalid instrument. Either 'TICK' does not exist in the Instrument Manager or the specified exchange has not been configured."

    I'm using OpenTick and I'm able to open up a real time chart of TICK with no issues. I've tried replacing TICK with AAPL and it seems to work.
    I also have the same issue with TRIN.

    Any ideas?

    Thanks,
    Allan

    #2
    Please try
    Add("^TICK", PeriodType.Minute, 5);

    = exact same instrument name you see everywhere in NT

    Comment


      #3
      ... and I had just vowed to stop asking stupid questions !!

      Thanks, that works

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by zstheorist, Today, 07:52 PM
      0 responses
      3 views
      0 likes
      Last Post zstheorist  
      Started by pmachiraju, 11-01-2023, 04:46 AM
      8 responses
      149 views
      0 likes
      Last Post rehmans
      by rehmans
       
      Started by mattbsea, Today, 05:44 PM
      0 responses
      5 views
      0 likes
      Last Post mattbsea  
      Started by RideMe, 04-07-2024, 04:54 PM
      6 responses
      33 views
      0 likes
      Last Post RideMe
      by RideMe
       
      Started by tkaboris, Today, 05:13 PM
      0 responses
      5 views
      0 likes
      Last Post tkaboris  
      Working...
      X