Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adding library to send information HTTP Request

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

    Adding library to send information HTTP Request

    Hello everyone!
    I would like to connect some information about the markets with my server (to send the information of my trades, positions, etc.). Is it possible with a HttpRequest?
    I've been searching a lot of this in this forum and internet but no one know about..

    My idea is: when you initialize an Expert advisor, you'll send a request with information to a web, for example: http://www.foo.com?param1=test&param2=test2 and get the response to know if the information is correct and the server get it right (to store it, process, etc.)

    In pseudocode:
    initialize(){
    Response = GetResponseFrom("http://www.foo.com?param1=test&param2=test2")
    print(response)

    }


    Do you know how would be this in C# with Ninja???

    Thank you in advance!
    Ferran

    #2
    Hi ferran, this would be likely achievable using C# custom coding, but unfortunately we could not offer a code snippet here or provide support for this area. I'm leaving this discussion open for other community members to chime in with their experiences.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by bortz, 11-06-2023, 08:04 AM
    47 responses
    1,603 views
    0 likes
    Last Post aligator  
    Started by jaybedreamin, Today, 05:56 PM
    0 responses
    8 views
    0 likes
    Last Post jaybedreamin  
    Started by DJ888, 04-16-2024, 06:09 PM
    6 responses
    18 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by Jon17, Today, 04:33 PM
    0 responses
    4 views
    0 likes
    Last Post Jon17
    by Jon17
     
    Started by Javierw.ok, Today, 04:12 PM
    0 responses
    12 views
    0 likes
    Last Post Javierw.ok  
    Working...
    X