Skip to main content

create

Usage

create [-a {buy,sell}] (-prod PRODUCT | -sym SYMBOL) -p PRICE (-s SIZE | -up UP_TO) [-d {gtd,gtc}] [-t {limit,market,stop-limit,stop-loss}]

Parameters

NameDescriptionDefaultOptionalChoices
actionAction wanted.buyTruebuy, sell
productId of the product wanted.NoneTrueNone
symbolSymbol wanted.NoneTrueNone
pricePrice wanted.NoneFalseNone
sizePrice wanted.NoneTrueNone
up_toUp to price.NoneTrueNone
durationDuration of the Order.gtdTruegtd, gtc
typeType of the Order.limitTruelimit, market, stop-limit, stop-loss

On this page