Create order

gRPC service methodCreateOrdersource (CreateOrderRequest) -> (CreateOrderResponse)

part of service PrivateOrderService

MessageCreateOrderRequestsource
Fields
  • market required (enum Market) – E.g.: BTC_EUR, BTC_USD. validation constraints: non-default value only, defined values only
  • tonce required (fixed64)
  • signed (message Signed) – Value is set by the message interceptor of the Tulip Exchange client library. Do not set it manually. See also Request authentication.
  • deadline_ns (fixed64) – The timestamp until the order is active, after which it is automatically canceled. Unit is absolute timestamp in nanoseconds since unix epoch. The default of 0 means infinite lifetime (“Good-Til-Cancelled”).

MessageLimitOrderRequestsource
Fields
  • side required (enum Side) – E.g.: BUY, SELL. validation constraints: non-default value only, defined values only
  • base_amount required (double) – validation constraints: gt: 0.0
  • price required (double) – validation constraints: gt: 0.0

MessageMarketOrderRequestsource
Fields
  • side required (enum Side) – E.g.: BUY, SELL. validation constraints: non-default value only, defined values only
  • base_amount required (double) – validation constraints: gt: 0.0

MessageCreateOrderResponsesource
Fields

MessageLimitOrderResponsesource
Fields

MessageMarketOrderResponsesource
Fields