both of balance and transaction streams does not return new values when contracts are done.
{balance:1, subscirbe:1}
and {transaction: 1, subscribe:1}
does not return new records when a contract is done.
I am expecting to get new values when for example a 5 tick trade is won. but no new results unless i buy another contract.
or issue a {balance:1}
request again.
both of these apis are broken!
Comments
Please try again
@amin Please note there is difference between contract expiry and contract sell, please refer https://binary.vanillacommunity.com/discussion/24/contract-expiry-time-vs-sell-time#latest.
When contract has expired it doesn't mean contract has been sold, contract is sold by our system so it may take some time. If you want to sell expired contract use https://developers.binary.com/api/#sell_expired, after this call you will give updates for transaction and balance.
@raunak many thanks
@Raunak please consider giving us notifications on contract_expiry.
@amin As of now this is not possible, we have added
date_expiry
in transaction stream, you can use that to calculate when to callsell_expired
.