bitmex v0.2.5 Bitmex.Rest.Order View Source
Link to this section Summary
Functions
Automatically cancel all your orders after a specified timeout
Create a new order
Create multiple new orders
Cancel orders. Send multiple order IDs to cancel in bulk
Cancels all of your orders
Get your orders
Get your open orders
Amend the quantity or price of an open order
Amend multiple orders
Link to this section Functions
Link to this function
cancel_all_after(params) View Source
Automatically cancel all your orders after a specified timeout.
Link to this function
create(params) View Source
Create a new order.
Link to this function
create_bulk(params) View Source
Create multiple new orders.
Example
iex> p1 = %{"symbol" => "XBTUSD", "side" => "Buy", "orderQty" => 15,
"price" => Float.floor(4000.1, 1), "ordType" => "Limit"}
iex> p2 = %{"symbol" => "XBTUSD", "side" => "Buy", "orderQty" => 15,
"price" => 4100.2, "ordType" => "Limit"}
iex> Bitmex.Rest.Order.create_bulk(%{orders: [p1, p2]})
Link to this function
delete(params) View Source
Cancel orders. Send multiple order IDs to cancel in bulk.
Link to this function
delete_all(params \\ %{}) View Source
Cancels all of your orders.
Link to this function
get(params \\ %{}) View Source
Get your orders.
Link to this function
get_open(params \\ %{}) View Source
Get your open orders.
Link to this function
update(params) View Source
Amend the quantity or price of an open order.
Link to this function
update_bulk(params) View Source
Amend multiple orders.