-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
liquidationPrice Stream #17
Comments
I found that the Chinese document of binance is updated more slowly than the English document. I'll go to experiment first and then give you feedback. |
Sorry to reply to you now, you can do this $binance->subscribe([
'!forceOrder@arr'
]);
$data=$binance->getSubscribes();
print_r($data); |
tanks for answering but there is not "liquidationPrice" in "!forceOrder@arr" |
I haven't used this data. After testing, I found that there is no such data "liquidationPrice". It can be combined with HTTP REST and websocket as an auxiliary method |
with Position Information V2 (USER_DATA) " GET /fapi/v2/positionRisk (HMAC SHA256) "
https://binance-docs.github.io/apidocs/futures/en/#position-information-v2-user_data
function positionRisk "$binance->trade()->getPositionRisk();"
we can get liquidationPrice of current open position on all symbols
but how we can get liquidationPrice on websocket streaming ?
there is a Stream Name: !forceOrder@arr on binnace doc
https://binance-docs.github.io/apidocs/futures/en/#all-market-liquidation-order-streams
It gives us // Original Quantity - // Price - // Average Price
but does not give a liquidation price!
so how we can stream the liquidationPrice ? is it possible ?
The text was updated successfully, but these errors were encountered: