cancel: Cancel a group of orders.

View source: R/cancel.R

cancelR Documentation

Cancel a group of orders.

Description

Cancel a group of orders based on currency name or record time.

Usage

cancel(src, dst, hrs = 0, token)

Arguments

src

Source currency name ("btc", "eth", "bnb", etc).

dst

Destination currency name ("usdt" or "rls").

hrs

The number of hours after which orders will be canceled. If the value is less than one hour, it is specified as a decimal (e.g., 15 minutes is given by hrs = 0.25).

token

The token is string value obtain from user ID settings in the NOBITEX. If you are not registered on the website, please use the provided link.

Examples

## Not run: 
tkn <- "CONTACT WITH AUTHOR"

# All orders recorded more than one hour ago are canceled.
cancel(" ", " ", hrs = 1, token = tkn)

## End(Not run)

TSEtools documentation built on Jan. 8, 2026, 5:07 p.m.