Parameters for trade functions

Arguments

coin

Coin.

symbol

Symbol.

start_time

Start time. Something that can be coerced to POSIXct.

end_time

End time. Something that can be coerced to POSIXct.

interval

Time interval. One of 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w or 1M where m = minutes, h = hours, d = days, w = weeks and M = months.

type

Order type. One of "SPOT", "MARGIN" or "FUTURES".

order_type

Order type. One of "LIMIT", "MARKET", "STOP_LOSS", "STOP_LOSS_LIMIT", "TAKE_PROFIT", "TAKE_PROFIT_LIMIT" or "LIMIT_MAKER".

network

Blockchain network.

fiat

Fiat currency.

side

Side of the trade: "BUY" or "SELL".