JKorf / Binance.Net

A C# .netstandard client library for the Binance REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/Binance.Net/
MIT License
1.04k stars 428 forks source link

Missing `priceProtect` parameters and fields #888

Closed luminosoda closed 3 years ago

luminosoda commented 3 years ago
In Binance Futures USDT docs as well as in COIN-M, New Order endpoint has priceProtect parameter, but currently in IBinanceClientFuturesOrders.PlaceOrderAsync it's not implemented. Name Type Mandatory Description
priceProtect STRING NO "TRUE" or "FALSE", default "FALSE". Used with STOP/STOP_MARKET or TAKE_PROFIT/TAKE_PROFIT_MARKET orders.

This function exists in Binance for about a year: announcement of this feature and guide in FAQ

luminosoda commented 3 years ago

Also Place Multiple Orders: USDT and COIN-M endpoint parameters need to be updated. Responses of endpoints New Order, Place Multiple Orders, Query Order, Cancel Order, Cancel Multiple Orders, Query Current Open Order, Current All Open Orders, All Orders need to be changed too by adding a new field priceProtect.