Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Not sure what url to place in python

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

    Not sure what url to place in python

    I am attempting to code in python an indicator that will show me the movement of implied volatility on my chart fot S&P500 MES but not sure what to put in.
    I have tried yahoo finance in the past but it doesn't work.

    Here is the scrpit I have right now

    impor yfinance as yf
    I want to replace this using ninja trader but not sure what to put inplace of it.

    Any ideas?

    #2
    Welcome to the forums!

    You may be uninformed -- Python is not supported by NinjaTrader.

    NinjaTrader is a Windows application based upon the .NET Framework.

    The primary language in .NET is C#, but VB.Net and F# are also available.

    Within NinjaTrader, users can write plugins using the NinjaScript
    framework, but the only supported language for NinjaScript is C#.

    My point is:
    Python is not a language supported by the .NET Framework.

    Comment


      #3
      bltdavid has it correct - Python can only be interfaced in a roundabout way but you can't just "code in python an indicator" to display in NinjaTrader without a lot of heroics - I can assure you the interfacing between the two worlds will be possible but will be many times more complex than the indicator itself would be to just write it in C#. You would be walking the long way around the barn for sure.
      Bruce DeVault
      QuantKey Trading Vendor Services
      NinjaTrader Ecosystem Vendor - QuantKey

      Comment


        #4
        Hello StankE,

        Thanks for your post.

        bltdavid and QuantKey_Bruce are correct.

        Python is not supported for developing NinjaScript indicators and strategies.

        NinjaTrader utilizes the C# programming language for developing indicators and strategies.

        If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of articles in our help guide first:
        https://ninjatrader.com/support/help...g_concepts.htm

        I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript:
        https://ninjatrader.com/support/help..._resources.htm

        And the MSDN (Microsft Developers Network) C# Language Reference.
        https://ninjatrader.com/support/help...erence_wip.htm

        Please let me know if I may assist further.​​
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

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