gemini-exports: Generate CSV Exports of Your Gemini Trades, Transfers, & Earn Transactions

[ bsd3, console, finance, library, program, web ] [ Propose Tags ] [ Report a vulnerability ]

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.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2
Change log CHANGELOG.md
Dependencies aeson (<3), base (>=4.7 && <5), base64 (>=1 && <2), bytestring (<1), cassava (<1), cmdargs (>=0.10 && <1), containers (<1), cryptonite (<1), directory (<2), gemini-exports, http-client (<1), http-types (<1), mtl (<3), raw-strings-qq (<2), req (<4), safe-exceptions (<1), scientific (<1), text (<3), time (<2), xdg-basedir (<1), yaml (<1) [details]
License BSD-3-Clause
Copyright 2022 Pavan Rikhi
Author Pavan Rikhi
Maintainer pavan.rikhi@gmail.com
Category Web, Finance, Console
Home page https://github.com/prikhi/gemini-exports#readme
Bug tracker https://github.com/prikhi/gemini-exports/issues
Source repo head: git clone https://github.com/prikhi/gemini-exports
Uploaded by lysergia at 2024-01-12T05:38:55Z
Distributions LTSHaskell:0.1.0.0, NixOS:0.1.0.0, Stackage:0.1.0.2
Executables gemini-exports
Downloads 358 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-01-12 [all 1 reports]

Readme for gemini-exports-0.1.0.1

[back to package description]

gemini-exports

gemini-exports Build Status

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