@hackage gemini-exports0.1.0.2

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 gemini-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.