cabal-version: 1.12 -- This file has been generated from package.yaml by hpack version 0.35.2. -- -- see: https://github.com/sol/hpack name: binance-exports version: 0.1.2.0 synopsis: Generate CSV Exports of your Binance Trade History. description: @binance-exports@ is a CLI program that queries the Binance.us API for your Trade History & exports all trades to a CSV file. . Sometime during February 2022, Binance removed their @Trade History@ page, along with the ability to export your completed trades. The @Order History@ export is still available, but the format is more difficult to parse. . This package contains a replacement executable for the @Trade History@ export, generating CSVs with an almost-identical format. There are two differences: we split the trade symbol into two separate asset columns & include the trade ID. . You can install @binance-exports@ with Stack: @stack install --resolver nightly binance-exports@. Then run the following to print out your trades for a given symbol: . @ $ binance-exports -k \ -s \ SOLUSD time,base-asset,quote-asset,type,price,quantity,total,fee,fee-currency,trade-id 2022-03-01 21:20:44,SOL,USD,BUY,42.2424,0.42,42.90010000,0.0009001,BNB,9001 @ . See @binance-exports --help@ for additional options. category: Web, Finance, Console homepage: https://github.com/prikhi/binance-exports#readme bug-reports: https://github.com/prikhi/binance-exports/issues author: Pavan Rikhi maintainer: pavan.rikhi@gmail.com copyright: 2022 Pavan Rikhi license: BSD3 license-file: LICENSE build-type: Simple extra-source-files: README.md CHANGELOG.md source-repository head type: git location: https://github.com/prikhi/binance-exports library exposed-modules: Console.Binance.Exports.Csv Console.Binance.Exports.Main Web.Binance other-modules: Paths_binance_exports hs-source-dirs: src default-extensions: DeriveGeneric LambdaCase NamedFieldPuns OverloadedStrings TupleSections TypeApplications TypeOperators ViewPatterns ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -O2 build-depends: aeson <3 , base >=4.7 && <5 , bytedump <2 , bytestring <1 , cassava <1 , cmdargs >=0.10 && <1 , cryptohash-sha256 <1 , directory <2 , 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 default-language: Haskell2010 executable binance-exports main-is: Main.hs other-modules: Paths_binance_exports hs-source-dirs: app default-extensions: DeriveGeneric LambdaCase NamedFieldPuns OverloadedStrings TupleSections TypeApplications TypeOperators ViewPatterns ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -O2 -threaded -rtsopts -with-rtsopts "-N -T" build-depends: base >=4.7 && <5 , binance-exports default-language: Haskell2010 test-suite binance-exports-test type: exitcode-stdio-1.0 main-is: Spec.hs other-modules: Paths_binance_exports hs-source-dirs: tests default-extensions: DeriveGeneric LambdaCase NamedFieldPuns OverloadedStrings TupleSections TypeApplications TypeOperators ViewPatterns ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -O2 -threaded -rtsopts -with-rtsopts "-N -T" build-depends: base >=4.7 && <5 , binance-exports , hedgehog , tasty , tasty-hedgehog >=1.2 , tasty-hunit default-language: Haskell2010