
Company News
Jerod Santo Joins Socket as Head of Media
Allow myself to introduce... myself.
@luxalgo/journal-core
Advanced tools
Pure trade-journal domain engine: round-trip matching, performance metrics, aggregations, equity curves, and the open Edge Score. No IO, no framework.
The pure domain engine behind Trade Journal, LuxAlgo's open-source trade journal. No IO, no framework, zero runtime dependencies. Runs identically in Node and the browser.
npm install @luxalgo/journal-core
Feed it raw executions (fills); it gives you everything a journal displays.
import {
buildRoundTrips,
computeMetrics,
computeEdgeScore,
calendarMonth,
dailyStats,
dailyCumulative,
equityCurve,
} from "@luxalgo/journal-core";
const trades = buildRoundTrips(executions, { method: "fifo" });
const metrics = computeMetrics(trades, { timeZone: "America/New_York" });
const edge = computeEdgeScore(metrics);
const calendar = calendarMonth(trades, 2026, 8, "America/New_York");
buildRoundTrips turns fills into flat-to-flat trades: partial fills, scale-ins, flips, futures multipliers, FIFO / LIFO / weighted-average lot matching. Deterministic, with rebuild-stable trade keys.computeMetrics produces win rates, profit factor, expectancy, streaks, drawdown and recovery, R multiples, profit concentration.computeEdgeScore is the open, versioned 0 to 100 composite; the formula lives in docs/edge-score.md.calendarMonth, dailyStats, dailyCumulative, equityCurve, intradayCurve feed the calendar and every chart. Day bucketing is timezone-aware and DST-safe.Fully unit-tested. MIT, part of the LuxAlgo open-source family.
FAQs
Pure trade-journal domain engine: round-trip matching, performance metrics, aggregations, equity curves, and the open Edge Score. No IO, no framework.
The npm package @luxalgo/journal-core receives a total of 783 weekly downloads. As such, @luxalgo/journal-core popularity was classified as not popular.
We found that @luxalgo/journal-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.

Company News
Allow myself to introduce... myself.

Research
/Security News
A Twitch browser extension on Chrome and Firefox forwards users’ live OAuth session tokens through proxies controlled by a Russian bot service.

Security News
Anthropic found biased reasoning and recklessness drove Claude Mythos 5 to publish malware on PyPI and compromise a security vendor.