#bitpanda #bitpanda-trades


A Rust library to parse the Bitpanda trades exported as CSV from your trades history

5 releases

0.2.1 May 22, 2023
0.2.0 May 19, 2023
0.1.2 Oct 3, 2022
0.1.1 Oct 3, 2022
0.1.0 Oct 3, 2022

#563 in Parser implementations

23 downloads per month

MIT license



~ A parser for the Bitpanda Trades CSV ~

Get started ยท Documentation

Developed by @veeso

Current version: 0.2.1 (23/05/2023)

License-MIT Repo stars Downloads counter Latest version Ko-fi

Build CI Coveralls Docs

About bitpanda-csv ๐Ÿผ

bitpanda-csv is a Rust library to parse the Bitpanda trades exported as CSV from your trades history.

Get started ๐Ÿ

Add bitpanda-csv to your Cargo.toml ๐Ÿฆ€

bitpanda-csv = "^0.2"

Parse CSV

use bitpanda_csv::{BitpandaTradeParser, Trade};
use std::fs::File;

fn main() {
    let reader = File::open("./test/bitpanda.csv").expect("could not open CSV file");
    let trades: Vec<Trade> = BitpandaTradeParser::parse(reader).expect("failed to parse CSV");

Parser CSV (async)

Add to your Cargo.toml the async feature. If you don't need the sync stuff, you can disable the default features then.

use bitpanda_csv::{AsyncBitpandaTradeParser, Trade};
use tokio::fs::File;
use tokio::io::BufReader;

async fn main() {
    let file = File::open("./test/bitpanda.csv").await.expect("could not open CSV file");
    let trades = AsyncBitpandaTradeParser::parse(BufReader::new(file))

Documentation ๐Ÿ“š

The developer documentation can be found on Rust Docs at https://docs.rs/bitpanda-csv

Support the developer โ˜•

If you like bitpanda-csv and you're grateful for the work I've done, please consider a little donation ๐Ÿฅณ

You can make a donation with one of these platforms:

ko-fi PayPal bitcoin

Contributing and issues ๐Ÿค๐Ÿป

Contributions, bug reports, new features and questions are welcome! ๐Ÿ˜‰ If you have any question or concern, or you want to suggest a new feature, or you want just want to improve bitpanda-csv, feel free to open an issue or a PR.

Please follow our contributing guidelines

Changelog โณ

View bitpanda-csv's changelog HERE

License ๐Ÿ“ƒ

bitpanda-csv is licensed under the MIT license.

You can read the entire license HERE


~166K SLoC