ExOkex.Swap.Private.create_order
You're seeing just the function
create_order
, go back to ExOkex.Swap.Private module for more information.
Specs
Place a new order.
Examples
iex> ExOkex.Swap.create_order(%{ instrument_id: "BTC-USD-180213", leverage: "10", orders_data: [%{
type: "1",
price: "432.11",
size: "2",
match_price: "0"
}] }) {:ok, %{"order_info" => [%{"error_code" => 0, "error_message" => "", "order_id" => "2653481276189696"}], "result" => true}}