set_api_key: Set API Key as R Environment Variable

Description Usage Arguments

View source: R/set_api_key.R

Description

Set API Key as R Environment Variable

Usage

1
set_api_key(exchange, key_type, portfolio = NULL, key = NULL)

Arguments

exchange

Which exchange to use for price and market data. Choices are "binance", "binance-us", "bitstamp", "bittrex", "coinbase", "coinbase-pro", "crypto.com", "ftx", "ftx-us", "gemini", "huobi", "kraken", "kucoin", and "poloniex".

key_type

Key type: Either "API", "SECRET", or "PASSPHRASE".

portfolio

Optional value if you have multiple portfolios in a single exchange with different API keys.

key

Leave NULL and input in the askpass popup.


cstjohn810/cryptoapi documentation built on Feb. 6, 2022, 4:50 a.m.