Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is the VIX for current and next contract available?

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

    Is the VIX for current and next contract available?

    I'd like to develop an indicator to draw a line chart of the VIX contango/backwardation. So I would need the current VIX value and the next contract's value to calculate what to plot. Are these values available to NT indicator code? Would I need a special data connection to get it or ... where would I get it from?

    Thanks!
    Bryan

    #2
    Hello cassb,

    Thank you for your reply.

    I'm not familiar with contango/backwardation, can you give more information on what that refers to so I can best guide you?

    Thanks in advance; I look forward to assisting you further.

    Comment


      #3
      Originally posted by NinjaTrader_Kate View Post
      Hello cassb,

      Thank you for your reply.

      I'm not familiar with contango/backwardation, can you give more information on what that refers to so I can best guide you?

      Thanks in advance; I look forward to assisting you further.
      Hi Kate, no problem.



      Comment


        #4
        You could look for securities with high correlation with the vix but that’s all I can think of. Anything direct is is going to come with weird risks like you mentioned. If you do end up going for some etn just watch out for contango in the long term.
        Last edited by AlexPhilip; 02-03-2025, 11:27 AM.

        Comment


          #5
          Originally posted by AlexPhilip View Post
          You could look for securities with high correlation with the vix but that’s all I can think of. Anything direct is is going to come with weird risks like you mentioned. If you do end up going for some etn just watch out for contango in the long term.
          Yeah, I am looking specifically for the VIX value itself.

          Comment


            #6
            Hello cassb,

            Thank you for your reply.

            In looking at this it looks like contango/backwardation are specifically focused on VIX futures (VX or VXM for the mini-VIX futures) vs the current ^VIX price. You can certainly add data series of further expirations to a script and compare them. However, keep in mind that dynamically loading a data series is not supported and you'd likely need to hard code the expiries you want to look at and change them as the contracts roll to new front months.

            Publicly available information on VIX futures can be found on the CBOE's site here:

            Trade VIX Index Futures on Cboe Futures Exchange. Access volatility trading strategies for risk management, alpha generation, and portfolio diversification.


            AddDataSeries from our help guide:



            Working with multi-series scripts:



            Please let us know if we may be of further assistance to you.

            Comment


              #7
              Originally posted by NinjaTrader_Kate View Post
              Hello cassb,

              Thank you for your reply.

              In looking at this it looks like contango/backwardation are specifically focused on VIX futures (VX or VXM for the mini-VIX futures) vs the current ^VIX price. You can certainly add data series of further expirations to a script and compare them. However, keep in mind that dynamically loading a data series is not supported and you'd likely need to hard code the expiries you want to look at and change them as the contracts roll to new front months.

              Publicly available information on VIX futures can be found on the CBOE's site here:

              Trade VIX Index Futures on Cboe Futures Exchange. Access volatility trading strategies for risk management, alpha generation, and portfolio diversification.


              AddDataSeries from our help guide:



              Working with multi-series scripts:



              Please let us know if we may be of further assistance to you.
              I just need to know how to access the realtime VIX value from an indicator.

              Comment


                #8
                Hello cassb,

                Thank you for your reply.

                I've created a simple example indicator that adds additional ^VIX and VX 10-21 and VX 11-21 series and prints the prices for each in the lower left corner of the chart each minute. This should serve as a jumping off point for creating your own logic using those prices.

                Please let us know if we may be of further assistance to you.
                Attached Files
                Last edited by NinjaTrader_Kate; 09-28-2021, 08:59 AM. Reason: Forgot to post the attachment

                Comment


                  #9
                  Originally posted by NinjaTrader_Kate View Post
                  Hello cassb,

                  Thank you for your reply.

                  I've created a simple example indicator that adds additional ^VIX and VX 10-21 and VX 11-21 series and prints the prices for each in the lower left corner of the chart each minute. This should serve as a jumping off point for creating your own logic using those prices.

                  Please let us know if we may be of further assistance to you.
                  Excellent Kate, that's what I was looking for, thanks!

                  Comment


                    #10
                    Kate, I have a vendor account and I don't currently trade live with NinjaTrader. But I want to develop some indicators and need a live data feed to test it. I am out of demo account allowances. Can you please see if I can get a 'permanent' demo account set up to test my code with?

                    Comment


                      #11
                      Hello cassb,

                      Thank you for your reply.

                      Unfortunately no, the only demos I can point you towards would be the NinjaTrader Continuum demo or the NinjaTrader FX demo (forex, which it sounds like wouldn't be of help to you). You've already run out of the allowances for the NinjaTrader Continuum demo and unfortunately there's not a way for our technical team to extend those. Further, that would only provide you with data for instruments traded on the CME while the VIX/VIX futures are through the CBOE, so you wouldn't get data for those anyway.

                      I would recommend sending an inquiry to our vendor support team to see if they have any options for you that you could try. You can reach them at vendorsupport [at] ninjatrader [dot] com.

                      Please let us know if we may be of further assistance to you.

                      Comment


                        #12
                        OK thank you, I wrote to them to see if I can get CBOE on a demo acct.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                        0 responses
                        561 views
                        0 likes
                        Last Post Geovanny Suaza  
                        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                        0 responses
                        325 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by Mindset, 02-09-2026, 11:44 AM
                        0 responses
                        101 views
                        0 likes
                        Last Post Mindset
                        by Mindset
                         
                        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                        0 responses
                        547 views
                        1 like
                        Last Post Geovanny Suaza  
                        Started by RFrosty, 01-28-2026, 06:49 PM
                        0 responses
                        547 views
                        1 like
                        Last Post RFrosty
                        by RFrosty
                         
                        Working...
                        X