When I use a OCO order I want to tell binance that when the last price traded of ADA is say $0.5, to sell my entire holding of this asset using the OCO request below.
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [General API Information](#general-api-information)
- [HTTP Return Codes](#http-return-codes)
- [Error Codes](#error-codes)
- [General Information on Endpoints](#general-information-on-endpoints)
- [LIMITS](#limits)
- [General Info on Limits](#general-info-on-limits)
- [IP Limits](#ip-limits)
- [Order Rate Limits](#order-rate-limits)
- [Data Sources](#data-sources)
- [Endpoint security type](#endpoint-security-type)
- [SIGNED (TRADE and USER_DATA) Endpoint security](#signed-trade-and-user_data-endpoint-security)
- [Timing security](#timing-security)
- [SIGNED Endpoint Examples for POST /api/v3/order](#signed-endpoint-examples-for-post-apiv3order)
- [Example 1: As a request body](#example-1-as-a-request-body)
- [Example 2: As a query string](#example-2-as-a-query-string)
- [Example 3: Mixed query string and request body](#example-3-mixed-query-string-and-request-body)
This file has been truncated. show original
What will my request look like when I send it to binance?
I suggest having a look at stop orders instead of oco orders.
OCO orders have two stop legs, a TAKE_PROFIT and a STOP_LOSS. If either of the order activates, the other order is canceled.