Replace OrderAsk AIpost https://api.bitfinex.com/v1/order/cancel/replaceReplace an order with a new one. Can be used to replace an order with a new margin, exchange, or derivative order.Form Dataorder_idint64requiredThe order ID given by /order/new.symbolstringThe name of the symbol (see /symbols).amountstringOrder size: how much to buy or sell.pricestringPrice to buy or sell at. May omit if a market order.exchangestring“bitfinex”sidestringEither “buy” or “sell”.typestringEither “market” / “limit” / “stop” / “trailing-stop” / “fill-or-kill” / “exchange market” / “exchange limit” / “exchange stop” / “exchange trailing-stop” / “exchange fill-or-kill”. (type starting by “exchange ” are exchange orders, others are margin trading orders)is_hiddenbooleanDefaults to falsetrue if the order should be hidden.is_postonlybooleanDefaults to falsetrue if the order should be post only. Only relevant for limit orders.use_remainingbooleanDefaults to falseTrue if the new order should use the remaining amount of the original order.levint32Defaults to 10Set the leverage for a derivative order, supported by derivative symbol orders only. The value should be between 1 and 100 inclusive. The field is optional, if omitted the default leverage value of 10 will be used.aff_codestringAllows you to pass along an affiliate code with your API ordersResponses 200200 400400Updated 10 months ago