How to get Entry Spot?
How can we retrieve Entry Spot via API? Looks like that info is mising from the BUY reply message and I found no other API command that would allow retrieving it. I would like to implemment a graph or some other dynamic status indicator in my app that would allow the user to actually see wheter his contract is winning or loosing. Something like the info we get by clicking "VIEW" at the web interface.
Any toughts?
Comments
@Gelson Please check https://developers.binary.com/api/#proposal_open_contract
Thanks a lot! That was exactly what I was looking for!
Actually, there is a problem :-(
Tried requesting {"proposal_open_contract": 1} but it sends all open proposal status just once. I was expecting a stream so I could update current_spot every second or so. I then tried requesting it every second, but after a few seconds I get error "You have reached the rate limit for proposal_open_contract."
So, how can I request a stream that shows current_spot for all open proposals?
using ref
Can you be more specific? What is "ref"???
@Gelson you can pass
contract_id
to proposal_open_contract call to get entry_spot for particular contract