New OrderCopy Pagepost https://api.bitfinex.com/v1/order/newSubmit a new Order, can be used to create margin, exchange, and derivative orders.Form DatasymbolstringrequiredThe name of the symbol (see /symbols).amountstringrequiredOrder size: how much you want to buy or sellpricestringrequiredPrice to buy or sell at. Must be positive. Use random number for market orders. Note: For 'trailing-stop' orders, the price represents the desired 'distance'sidestringrequiredEither “buy” or “sell”.typestringrequiredEither “market” / “limit” / “stop” / "stop limit" / “trailing-stop” / “fill-or-kill” / "immediate-or-cancel" / “exchange market” / “exchange limit” / “exchange stop” / "exchange stop limit" / “exchange trailing-stop” / “exchange fill-or-kill” / "exchange immediate-or-cancel" . (type starting by “exchange ” are exchange orders, others are margin trading orders)exchangestringDefaults to "bitfinex"buy_stoplimit_pricefloatSpecify the limit price on a stop limit buy or exchange stop limit buy ordersell_stoplimit_pricestringSpecify the limit price on a stop limit sell or exchange stop limit sell orderis_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_all_availableint32Defaults to 01 will post an order that will use all of your available balance.ocoorderbooleanrequiredSet an additional STOP OCO order that will be linked with the current order.buy_price_ocofloatrequiredIf ocoorder is true, this field represent the price of the OCO stop order to placesell_price_ocofloatrequiredIf ocoorder is true, this field represent the price of the OCO stop order to placelevint32Defaults 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 12 months ago