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 SalmaTrader, 07-07-2026, 10:26 PM
        0 responses
        36 views
        0 likes
        Last Post SalmaTrader  
        Started by CarlTrading, 07-05-2026, 01:16 PM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 06-17-2026, 10:32 AM
        0 responses
        14 views
        0 likes
        Last Post CaptainJack  
        Started by kinfxhk, 06-17-2026, 04:15 AM
        0 responses
        19 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 06-17-2026, 04:06 AM
        0 responses
        22 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X