Subscribe to buy contract

edited April 16 in General

Hello,

I have a question about subscribing on a buy contract. I think my script is facing time-outs because of API-limits. Every tick the script receives information about the status of a bought contract. Actually I'm only interested in the end result and I would like to receive a push answer as soon as the contract ends. Is that possible? Or is there a workaround, without receiving all updates in between?

Kind regards

Comments

  • Hi @alekshnl ,
    If the time outs started happening last week, check now, there where some issues that have been resolved.
    The closest thing we have to a notification of contracts finishing with out subscribing to buy or proposal open contract would be transaction https://developers.binary.com/api/#transaction you would need to check for action:sell messages.

      "transaction": {
        "action": "sell",
       .....
    

    I hope that helps.

Sign In or Register to comment.