bitmex v0.2.3 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.

Create a new order.

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]})

Cancel orders. Send multiple order IDs to cancel in bulk.

Link to this function delete_all(params \\ %{}) View Source

Cancels all of your orders.

Get your orders.

Get your open orders.

Amend the quantity or price of an open order.

Amend multiple orders.