New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@luxalgo/journal-importers

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@luxalgo/journal-importers

Statement and export importers for the trade journal: broker CSVs, MetaTrader HTML statements, and one-click migration from TradeZella and Tradervue.

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
840
165.82%
Maintainers
3
Weekly downloads
 
Created
Source

@luxalgo/journal-importers

Statement and export parsers for Trade Journal, LuxAlgo's open-source trade journal. Zero runtime dependencies beyond @luxalgo/journal-core. Runs in Node and the browser.

npm install @luxalgo/journal-importers

What it does

Turns broker and journal exports into normalized executions, ready for buildRoundTrips.

import { parseAuto, parseWithMapping, readHeaders, FORMATS } from "@luxalgo/journal-importers";

const parsed = parseAuto(fileText, { timeZone: "America/New_York" });
// -> { format, executions, warnings, skippedRows } or null when unrecognized
  • Auto-detects 12 formats: TradeZella and Tradervue (one-click migration), TradingView, MetaTrader 4 statements, ThinkorSwim / Schwab, Interactive Brokers (activity CSV + Flex Query), NinjaTrader, Tradovate, TopstepX, Webull, DAS Trader.
  • parseWithMapping handles any other CSV through a user-defined column mapping; nothing is guessed silently.
  • Handles quoted fields, BOM, ; and tab delimiters, $1,234.56 and (45.20) numbers, European decimals, timezone suffixes, and DST-safe naive-timestamp conversion.
  • TradeZella imports reconcile stated net P&L to the cent, so migrated history matches the trader's old numbers.

Per-format validation status lives in docs/importers.md. Real export samples are the most valuable contribution. MIT.

Keywords

trading

FAQs

Package last updated on 28 Aug 2026

Related posts