send_child_order: Send a New Order

Description Usage Arguments Value

View source: R/private.R

Description

Send a New Order

Usage

1
2
3
4
5
6
7
8
9
send_child_order(
  product_code,
  child_order_type,
  side,
  price,
  size,
  minute_to_expire = 43200,
  time_in_force = "GTC"
)

Arguments

product_code

A product_code or alias, as obtained from the Market List. If omitted, the value is set to "BTC_JPY". Only "BTC_USD" is available for U.S. accounts, and only "BTC_EUR" is available for European accounts.

child_order_type

For limit orders, it will be "LIMIT". For market orders, "MARKET".

side

For buy orders, "BUY". For sell orders, "SELL".

price

Specify the price. This is a required value if child_order_type has been set to "LIMIT".

size

Specify the order quantity.

minute_to_expire

Specify the time in minutes until the expiration time. If omitted, the value will be 43200 (30 days).

time_in_force

Specify any of the following execution conditions - "GTC", "IOC", or "FOK". If omitted, the value defaults to "GTC".

Value

child_order_acceptance_id. To specify the order to return, please use this instead of child_order_id. Please confirm the item is either Cancel Order or Obtain Execution List.


teramonagi/bitflyer documentation built on Jan. 12, 2021, 1:02 p.m.