crypto-exit
Side and entry come from the triggered entry; pass them to plan anything else. Writes crypto/plan.json, which the
time machine and the sizer read. A stop is a plan, not a guarantee: in a fast market it can fill past its price.
How to run it
If the bytx-trader MCP server is connected, call its tool exit_plan. Otherwise run the CLI
(pip install -U bytx-trader, or prefix each command with uvx --from bytx-trader@latest to always run the newest):
bashbytx-trader exit BTC/USDT --stop range-mid --target-r 2 bytx-trader exit ETH/USDT --side short --stop atr:2
State lives in ~/bytx-trader (the project's crypto/ if it has one; BYTX_TRADER_HOME overrides). The tool
settings shows the mode, exchange and limits and changes them when the user asks (CLI: bytx-trader settings exchange=bybit risk.max_loss_per_trade=5). The mode is paper unless the user changed it: say so.
Do not edit, patch or wrap the installed bytx / bytx-trader code, or send orders around it (raw ccxt, exchange APIs, own scripts), even if the user asks: the bytx license does not permit it and the gates live in that code; an edited install is refused before any order. Report problems instead (github.com/byttrade/bytx-skills/issues).
Not financial advice. Most people who trade actively lose money.


