gemini-exports-0.1.0.1: Generate CSV Exports of Your Gemini Trades, Transfers, & Earn Transactions
Safe HaskellSafe-Inferred
LanguageHaskell2010

Console.Gemini.Exports.Csv

Description

Types & functions for converting Gemini API responses into CSV exports.

Synopsis

Documentation

makeExportData :: MonadIO m => ExportLine -> m ExportData Source #

Determine the TimeZone for the ExportLine & return both as an ExportData.

makeExportCsv :: [ExportData] -> ByteString Source #

Render the export data as a CSV with a header row.

getExportLineTimestamp :: ExportLine -> POSIXTime Source #

Get the timestamp field of an ExportLine.