Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 2 KB

SpotPricePutOrder.md

File metadata and controls

46 lines (26 loc) · 2 KB

SpotPricePutOrder

Properties

Name Type Description Notes
type string Order type,default to `limit` - limit : Limit Order - market : Market Order [optional] [default to 'limit']
side string Order side - buy: buy side - sell: sell side [default to undefined]
price string Order price [default to undefined]
amount string When `type` is limit, it refers to base currency. For instance, `BTC_USDT` means `BTC` When `type` is `market`, it refers to different currency according to `side` - `side` : `buy` means quote currency, `BTC_USDT` means `USDT` - `side` : `sell` means base currency,`BTC_USDT` means `BTC` [default to undefined]
account string Trading account type. Portfolio margin account must set to `unified` - normal: spot trading - margin: margin trading - unified: unified trading [default to 'normal']
timeInForce string time_in_force - gtc: GoodTillCancelled - ioc: ImmediateOrCancelled, taker only [optional] [default to 'gtc']
autoBorrow boolean Whether to borrow coins automatically [optional] [default to undefined]
autoRepay boolean Whether to repay the loan automatically [optional] [default to undefined]
text string The source of the order, including: - web: web - api: api - app: app [optional] [default to undefined]

Enum: SpotPricePutOrder.Type

  • Limit (value: 'limit')

  • Market (value: 'market')

Enum: SpotPricePutOrder.Side

  • Buy (value: 'buy')

  • Sell (value: 'sell')

Enum: SpotPricePutOrder.Account

  • Normal (value: 'normal')

  • Margin (value: 'margin')

  • Unified (value: 'unified')

Enum: SpotPricePutOrder.TimeInForce

  • Gtc (value: 'gtc')

  • Ioc (value: 'ioc')