cancelall: Bulk cancel orders based on type or instrument

Description Usage Arguments Examples

Description

Bulk cancel orders based on type or instrument

Usage

1
cancelall(keys, instrument = NULL, typeDef = NULL)

Arguments

keys

list containing access and secret keys in the form: keys <- list(key = ACCESS_KEY, secret = ACCESS_SECRET)

instrument

string [optional], instrument name, example "BTC-28SEP18-3500-P" (or other items in rderibit::getinstruments()).

typeDef

Cancel instructions. Can be "all", "options", "futures" or NULL. Will be ignored if instrument is not NULL

Examples

1
cancelall(keys, "BTC-28DEC18-8750-P")

paltsev-p/rderibit documentation built on May 3, 2019, 7:08 p.m.