Jump to content

Dirk83

Members
  • Posts

    5
  • Joined

  • Last visited

Dirk83's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Does that clarify a bit? It is for a trading system, I listen to price data from an external web server (continuous through a websocket), then I want to perform calculations with them and if it triggers an event I want to cancel, update or place an order through an HTTP request.
  2. No, it is a 3rd party websocket, so the websocket is not running on the same server as the PHP script. I could install a websocket on my own server though in order to send messages from the 3rd webparty indirectly through my browser client to my own web server; in the case that that is necessary. Basically, when new information comes through from the 3rd party websocket I want my own server to perform calculations with the new data and possibly generate an HTTP request based on that. I am also open to suggestions to have all calculations performed on the web browser client and that the web browser client triggers an HTTP request through a javascript.
  3. Hi, I am listening to a 3rd party websocket and now I want a PHP script to be triggered when new information comes through over the websocket without sending a whole new HTTP request (though it might want to trigger an HTTP request). How can I do this? Thanks, Dirk
  4. Hi, I am getting certain information from a 3rd party websocket which I read in in my browser. Now I want to make a construction that I send this information to my own server, also through a websocket (my own). When it gets to the server it needs to manipulate and interpret the information; then when it triggers a certain event it should send a HTTP request to a 3rd party server again and then send back the information to the client side of my website (all while having the 3rd party websocket as well as my own websocket stay open). Is this possible, and if so, how should I do this? Thanks, Dirk.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.