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 NM_eFe, Today, 10:13 AM
    0 responses
    4 views
    0 likes
    Last Post NM_eFe
    by NM_eFe
     
    Started by hdge4u, Yesterday, 12:23 PM
    1 response
    10 views
    0 likes
    Last Post hdge4u
    by hdge4u
     
    Started by 1001111, Today, 09:45 AM
    0 responses
    12 views
    0 likes
    Last Post 1001111
    by 1001111
     
    Started by DTSSTS, 01-28-2024, 12:07 PM
    11 responses
    561 views
    0 likes
    Last Post bmo111
    by bmo111
     
    Started by Torontobluejays, Today, 08:43 AM
    0 responses
    3 views
    0 likes
    Last Post Torontobluejays  
    Working...
    X