JSPM

@pocket-portfolio/trading212-to-json

1.0.10
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q69213F
  • License MIT

Convert Trading212 CSV exports to JSON format. Free & open-source. Support: pocketportfolio.app/sponsor

Package Exports

  • @pocket-portfolio/trading212-to-json
  • @pocket-portfolio/trading212-to-json/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@pocket-portfolio/trading212-to-json) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Pocket Portfolio

The Local-First Investment Tracker

Founder's Club License NPM Downloads

🚨 LAUNCH SPECIAL: Join the UK Founder's Club before Batch 1 sells out.


trading212-to-json

Convert Trading212 CSV exports to JSON format

Installation

npm install @pocket-portfolio/trading212-to-json

Usage

import { parseCSV } from '@pocket-portfolio/trading212-to-json';

const file = // ... File object
const result = await parseCSV(file, 'en-US');

console.log(`Parsed ${result.trades.length} trades`);

Visualize Your Data

After parsing, visualize your portfolio instantly at pocketportfolio.app - no signup required!

Support the Project

This package is 100% free and open-source. Help us keep the servers running:

Support the work → pocketportfolio.app/sponsor

Every contribution helps us maintain and improve this tool for the community.

License

MIT