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

Web References

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

    Web References

    Hi,

    does anyone have experience with using Web References in Ninja Trader? I need to connect to a running service - which runs on the same computer where Ninja does - via proxy. This all is rather straightforward in Visual C# but i can't figure out if and how this is possible in NT.

    Thanks,

    Tomas

    #2
    Tomas,

    Generally it would be done in the same fashion. Unfortunately this is outside the scope of what we can offer support for though. You can try searching the forums. If memory serves there were a few threads about this before.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Hi Josh,

      it works well now and it was (after a couple of dead ends) rather straightforward. I used wsdl.exe to connect to my proxy and to create a corresponding .cs class. Then i have copied this class to Documents\NinjaTrader 6.5\bin\Custom\Type (so that i do not mix it with Indicators and Strategies) and recompiled an indicator. After that i can easily access class and consequently proxy services from within an indicator or a strategy straightaway .

      Cheers,

      Tomas

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by aussugardefender, Today, 01:07 AM
      0 responses
      1 view
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      238 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      383 views
      1 like
      Last Post Gavini
      by Gavini
       
      Started by oviejo, Today, 12:28 AM
      0 responses
      1 view
      0 likes
      Last Post oviejo
      by oviejo
       
      Started by pechtri, 06-22-2023, 02:31 AM
      10 responses
      125 views
      0 likes
      Last Post Leeroy_Jenkins  
      Working...
      X