binance-connector-node icon indicating copy to clipboard operation
binance-connector-node copied to clipboard

feat: Update OCO order endpoint to use /api/v3/orderList/oco

Open dizao opened this issue 8 months ago • 0 comments

Issue subject Library is using the deprecated OCO order API endpoint

Expected behaviour The library should use the new API endpoint for OCO orders.

Actual behaviour The library is currently using the deprecated POST /api/v3/order/oco endpoint, which should be replaced with POST /api/v3/orderList.

Steps to reproduce Use the library to create an OCO order. Observe that it uses the deprecated POST /api/v3/order/oco endpoint. The order creation should fail or result in a warning about the deprecated endpoint.

dizao avatar Jun 11 '24 03:06 dizao