-
Notifications
You must be signed in to change notification settings - Fork 1
Gemini
Logo | Name | Code | cryptotrackr Docs | Exchange Docs | Source Code |
---|---|---|---|---|---|
Gemini | gemini | /docs/gemini.md | 🏢 | /R/gemini.R |
gemini_api_call, gemini_trades, gemini_symbols, gemini_price_feed
-
Returns data from your Gemini API call
-
key: your API key for Gemini
-
secret: your secret key for Gemini
-
path: your API endpoint
-
method: "GET" or "POST"
-
The following example passes your key, secret, path, and method into the function and returns your historical trades in a dataframe named "data".
key <- "..."
secret <- "..."
path <- "/v1/mytrades"
method <- "POST"
data <- gemini_api_call(key, secret, path, method)
-
Returns a dataframe containing all of your historical trades.
-
key: your API key for Gemini
-
secret: your secret key for Gemini
-
The following example passes your secret and your key into the function and returns your historical trades in a dataframe named "df".
key <- "..."
secret <- "..."
df <- gemini_trades(secret, key)
-
Returns a vector containing all symbols available on Gemini
-
The following example gets all symbols available on Gemini and stores them in a vector named "symbols".
symbols <- gemini_symbols()
-
Returns a dataframe containing pairs, their current price, and their 24 hour change in price
-
The following example gets a price feed from Gemini and stores it in a dataframe named "prices".
prices <- gemini_price_feed()