torchtrade icon indicating copy to clipboard operation
torchtrade copied to clipboard

Modular reinforcement learning framework for algorithmic trading

Results torchtrade issues
Sort by recently updated
recently updated
newest added

## Summary * Adds a self-contained, vendor-neutral AGENTS.md for TorchTrade. * Keeps the tracked change to one docs-only file. * Respects the existing repo convention that `CLAUDE.md` and `.claude/` are...

Follow-up to #435 (`PortfolioTradingEnv`). Not a decision — a proposal to weigh once the env and DPM exist, and to discard if it does not pay for itself. ## The...

enhancement

## Motivation All TorchTrade envs trade a single asset, where the agent barely affects its own state. In portfolio management the agent's holdings are part of the state: every rebalance...

enhancement

Measured identical lines after exchange-name substitution: okx vs bybit — env.py 253/278 (91%), env_sltp.py 321/339 (95%), base.py 216/224 (96%); binance vs bitget env_sltp.py 388/436 (89%). This is the pattern that...

enhancement

Found by a branch-coverage sweep during #414 review (PR #420). All seven are **pre-existing**; none was introduced by that work. They share one shape, and it is the reason #414's...

bug

Found while folding the SLTP bracket sizing (#415). **Pre-existing on `main`** — the four pre-fold copies had the same shape — and deliberately not fixed in that PR, because changing...

bug

Found while fixing the same bug class on binance/bitget in #417 (part of #288). ## The defect `AlpacaSLTPConfig.include_close_action` exists (`alpaca/env_sltp.py:40`) and is passed to the map builder (`:127`). Setting it...

bug

Split out of #288 so that issue can close on deduplication alone. All four were surfaced by comparing the four venue stacks side by side during the folds (#410–#413) —...

bug

Follow-up to #270, which makes an unknown exchange status stop reading as a flat account. This covers what the policy *sees* during an outage, deliberately split out because it changes...

enhancement