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
Name | Parameter | Description | Default | Optional | Choices |
---|---|---|---|---|---|
action | -a --action | Action wanted. | buy | True | buy, sell |
product | -prod --product | Id of the product wanted. | None | True | None |
symbol | -sym --symbol | Symbol wanted. | None | True | None |
price | -p --price | Price wanted. | None | False | None |
size | -s --size | Price wanted. | None | True | None |
up_to | -up --up-to | Up to price. | None | True | None |
duration | -d --duration | Duration of the Order. | gtd | True | gtd, gtc |
type | -t --type | Type of the Order. | limit | True | limit, market, stop-limit, stop-loss |