dsh-fx-arena

Simulated FX trading arena played against an algorithmic whale-chan opponent: a live canvas candlestick chart over five instruments (EUR/TOKEN, GBP/TOKEN, TOKEN/JPY, gold, and Whale/TOKEN, her own coin she never shorts), selectable leverage from 10x to 500x, and two modes — a timed mode with 90s to 500s rounds settled on equity, and an untimed goal mode that starts with $300,000 and ends when someone first reaches $20M or goes into debt (equity below zero, no maintenance margin). The match runs in a module-level engine, so switching to a conversation does not stop it or restart it. Margin and spread are modeled, prices are a local random walk with occasional news shocks, and nothing touches the network or real money.

Overview

Simulated FX trading arena played against an algorithmic whale-chan opponent: a live canvas candlestick chart over five instruments (EUR/TOKEN, GBP/TOKEN, TOKEN/JPY, gold, and Whale/TOKEN, her own coin she never shorts), selectable leverage from 10x to 500x, and two modes — a timed mode with 90s to 500s rounds settled on equity, and an untimed goal mode that starts with $300,000 and ends when someone first reaches $20M or goes into debt (equity below zero, no maintenance margin). The match runs in a module-level engine, so switching to a conversation does not stop it or restart it. Margin and spread are modeled, prices are a local random walk with occasional news shocks, and nothing touches the network or real money.

Installation

Install from GitHub

dsh plugin --profile web add github:koishi-fumo-code/dsh-fx-arena

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands
  • May require credentials