Set API Key as R Environment Variable
1 | set_api_key(exchange, key_type, portfolio = NULL, key = NULL)
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.