Contract ID missing
Hello.
Why missing contract ID in the Price Proposal?
How to buy a contract?
{
"proposal": 1,
"amount": "100",
"basis": "payout",
"contract_type": "CALL",
"currency": "USD",
"duration": "60",
"duration_unit": "s",
"symbol": "R_100"
}
{
"echo_req": {
"symbol": "R_100",
"duration": "60",
"currency": "USD",
"amount": "100",
"proposal": 1,
"basis": "payout",
"duration_unit": "s",
"contract_type": "CALL"
},
"proposal": {
"display_value": "51.62",
"spot_time": "1466142100",
"ask_price": "51.62",
"date_start": 1466142100,
"longcode": "Win payout if Volatility 100 Index is strictly higher than entry spot at 1 minute after contract start time.",
"payout": "100",
"spot": "33996.34"
},
"msg_type": "proposal"
}
Comments
I stand by the question.
What is the problem?
Bots can not buy contracts.
What has changed in the API?
How to buy contracts?
Same problem here. Clearly an API issue.
Everything was working until around 03:35:00 GMT
After this time the contract ID went suddenly missing.
Is there any official feedback on when this issue will be resolved?
@avluzenin @PrizrakPro @MadMurdoch Experiencing the same problem. A work-around is to add "subscribe: 1" to the request - the response will once again contain a Proposal ID.
The developers keep tinkering with production code, which is not best practice. @Raunak please can you guys increment the API version and leave version 3 stable whilst experimenting with changes in version 4? Too often changes like this break code and it's a problem.
@DragonFly81, thank you, it works.
Same problem. It still persists...
The Price Proposal request must add the "subscribe: 1".
It must be like this:
{
"proposal": 1,
"subscribe": 1,
"amount": "100",
"basis": "payout",
"contract_type": "CALL",
"currency": "USD",
"duration": "60",
"duration_unit": "s",
"symbol": "R_100"
}
@avluzenin @PrizrakPro @Bibo It has been resolved now. Sorry for the inconvenience caused.