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

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
    cassb
    NinjaTrader Ecosystem Vendor - Logical Forex

    #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.
    Kate W.NinjaTrader Customer Service

    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.



      cassb
      NinjaTrader Ecosystem Vendor - Logical Forex

      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; 01-29-2022, 12:12 PM.

        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.
          cassb
          NinjaTrader Ecosystem Vendor - Logical Forex

          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:



            AddDataSeries from our help guide:



            Working with multi-series scripts:



            Please let us know if we may be of further assistance to you.
            Kate W.NinjaTrader Customer Service

            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:



              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.
              cassb
              NinjaTrader Ecosystem Vendor - Logical Forex

              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
                Kate W.NinjaTrader Customer Service

                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!
                  cassb
                  NinjaTrader Ecosystem Vendor - Logical Forex

                  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?
                    cassb
                    NinjaTrader Ecosystem Vendor - Logical Forex

                    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.
                      Kate W.NinjaTrader Customer Service

                      Comment


                        #12
                        OK thank you, I wrote to them to see if I can get CBOE on a demo acct.
                        cassb
                        NinjaTrader Ecosystem Vendor - Logical Forex

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by Jon17, Today, 04:33 PM
                        0 responses
                        1 view
                        0 likes
                        Last Post Jon17
                        by Jon17
                         
                        Started by Javierw.ok, Today, 04:12 PM
                        0 responses
                        4 views
                        0 likes
                        Last Post Javierw.ok  
                        Started by timmbbo, Today, 08:59 AM
                        2 responses
                        10 views
                        0 likes
                        Last Post bltdavid  
                        Started by alifarahani, Today, 09:40 AM
                        6 responses
                        40 views
                        0 likes
                        Last Post alifarahani  
                        Started by Waxavi, Today, 02:10 AM
                        1 response
                        19 views
                        0 likes
                        Last Post NinjaTrader_LuisH  
                        Working...
                        X