Generate CSV Exports of Your Gemini Trades, Transfers, & Earn Transactions.
gemini-exports
is a CLI program that queries the Gemini Exchange's API for your Trade History, Transfer History, & Earn History and exports all fetched data to a CSV file.
You can install gemini-exports
with Stack: stack install --resolver nightly gemii-exports
. Then run the following to print out your complete history:
$ gemini-exports -k <API_KEY> -s <API_SECRET>
time,base-asset,quote-asset,type,description,price,quantity,total,fee,fee-currency,trade-id
2022-04-20 04:20:00,GUSD,USD,Buy,,1.0,9001.0,9001.0,0.0,USD,900142424242
See gemini-exports --help
for additional options, configuration file details, etc.
gemini-exports
Generate CSV Exports of your Gemini Trades.
Requires stack
:
$ stack run -- -k <API_KEY> -s <API_SECRET>
time,base-asset,quote-asset,type,description,price,quantity,total,fee,fee-currency,trade-id
2022-04-20 04:20:00,GUSD,USD,Buy,,1.0,9001.0,9001.0,0.0,USD,900142424242
$ stack run -- --help
Install
You can install the CLI exe by running stack install
. This lets you call the executable directly instead of through stack:
stack install
export PATH="${HOME}/.local/bin/:${PATH}"
gemini-exports
Build
You can build the project with stack:
stack build
For development, you can enable fast builds with file-watching, documentation-building, & test-running:
stack test --haddock --fast --file-watch --pedantic
To build & open the documentation, run:
stack haddock --open gemini-exports
LICENSE
BSD-3