execute_buy: Place a buy order

Description Usage Arguments

View source: R/util.r

Description

Place a buy order

Usage

1
execute_buy(market, quantity, rate, dry_run = TRUE, log_cb = NULL)

Arguments

market

the market to place the buy limit order on.

quantity

the quantity of the transaction currency to buy.

rate

the price you are willing to pay per unit of the transaction currency.

dry_run

is this a dry run (not actually run)? (default: TRUE)

log_cb

a callback is given market, time_stamp, order_type, quantity price, and order_uuid. (default: NULL)


kaneplusplus/bittrextools documentation built on May 29, 2019, 3 a.m.