fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    On Trade Event Data not working when Posting HTTP

    Bug Reports
    3
    4
    762
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kekhumbo last edited by

      Hi,

      I want to be able to send HTTP Post request to my server when a trade closes, I have two sets of messages; Message set 1 to send statistics link consecutive losses, equity, consecutive wins, Login Number etc, and Message 2 to send details like, spread, lotsize, close time, close price, order date, take profit etc.

      For message 1, I am able to get this data without a problem using POST at my server/database.

      But for Message 2, I am am using the same method of connectivity, using the On Trade screen and using the ontrade event data, but everything is sent as Null or blank. How can i send the on trade events when a trade closes?Please review the code here

      l'andorrà 1 Reply Last reply Reply Quote 0
      • l'andorrà
        l'andorrà @kekhumbo last edited by

        @kekhumbo This is for real programmers. Anyone here? 🙂

        (English) I will try to help everyone in these fxDreema forums. But if you want to learn how to use the platform in depth or more quickly, I can help you with my introductory fxDreema course in English at https://www.theandorraninvestor.eu.

        (Català) Miraré d’ajudar tothom en aquests fòrums d’fxDreema. Tanmateix, si vols aprendre a fer servir la plataforma amb més profunditat o més de pressa, t’hi puc ajudar amb el meu curs d’introducció a fxDeema en català a https://www.theandorraninvestor.eu/ca.

        (Español) Intentaré ayudar a todo el mundo en estos foros de fxDreema. Sin embargo, si quieres aprender a usar la plataforma en profundidad o más deprisa, te puedo ayudar con mi curso de introducción a fxDreema en español en https://www.theandorraninvestor.eu/es.

        1 Reply Last reply Reply Quote 0
        • K
          kekhumbo last edited by

          @l-andorrà Infact I have noticed that Its failing to POST because I am sending alot of data or Key values, It seems they is a limit on how much can be sent at a time, as for me, I am sending about 34 key values using 4 various HTTP request blocks on the On Trade Data Events, but when I send 10-20, It works, however I need all 34 key values sent at the same time. Can anyone help on how this can be done?

          Zackry 1 Reply Last reply Reply Quote 0
          • Zackry
            Zackry @kekhumbo last edited by

            @kekhumbo not sure if this will help:
            as you know , when the Ea sends an http request the EA execution is halted for the time being till it receives the response back from the server, may be this is whats causing the issue (however i doubt that)

            secondly you said you want to send all 34 requests at the same time , i am afraid it wont be possible using FXdreema , because the http request block only allow 10 keys per block so there will always be a slight delay (few milliseconds) between the execution of each http request block (dependent on the time it takes to receive the response from the server)
            i would recommend that you use the custom mql block to send all 34 requests from the EA at the same time.

            what server are you using ? the issue could be at the server end maybe its not sending the response back to a particular request (just a thought)

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Online Users

            D
            E
            N
            N
            F
            M
            A
            L
            O

            22
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors