patcha
xgithub
wallet

devtools

Ship hooks from your IDE.

cli

Install the hosted tarball — not yet on the npm registry.

hosted tarball
1npm i -g https://patcha.fi/downloads/patcha-cli-latest.tgz
download .tgz →
vs code extension

Hook library tree, mini patch canvas, simulate & deploy commands.

download .vsix →visual studio marketplace — coming soon
hook designer — vs code webviewstatic illustration

Preview of the Hook Designer that opens inside VS Code. This image is a static illustration — the in-editor panel is fully interactive (pick a hook, tune parameters, run a real backtest).

dyn-feetlockgaterange-ordanti-mevkyc

Same flow runs in the browser at /designer.

vs code extension — install & use

  1. 1Download patcha-vscode-latest.vsix (button above).
  2. 2Open VS Code → Extensions panel → Install from VSIX… → select the file.
  3. 3Open the Command Palette (Ctrl/Cmd+Shift+P).
  4. 4Run Patcha: Open Hook Designer — an interactive panel opens (pick → tune → run backtest, in-editor).
  5. 5Use the sidebar Hook Library (6 builtin hooks) + Patcha: Simulate Selected Hook to backtest, and Patcha: Deploy (opens a terminal, uses patcha-cli).

cli — install & use

  1. 1Download patcha-cli-latest.tgz (button above) or install directly from the hosted URL.
  2. 2Install globally — local: npm i -g ./patcha-cli-latest.tgz, or remote: npm i -g https://patcha.fi/downloads/patcha-cli-latest.tgz. (Not yet on the npm registry.)
  3. 3Scaffold a project: patcha init my-hook.
  4. 4Backtest: patcha simulate my-hook/hook.toml.
  5. 5Deploy: patcha deploy my-hook/hook.toml.

Source on GitHub.