feat: add local backtest config and AGENTS.md notes #3
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/local-backtest-config-and-agent-notes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this adds
Two untracked files that had accumulated in the workspace. Neither is code; both remove setup friction.
configs/backtest_local_config.jsonA self-contained config for running backtests locally. It deliberately omits the
telegramandapi_serverblocks thatconfigs/backtest_config.jsoncarries, because freqtrade 2026.x rejects atelegramblock that is missingtoken/chat_id— omitting the block is cleaner than stubbing it.Spot-only, Kraken, feather data from
data/, five-pair static whitelist (SOL/SUI/XMR/DOGE/PEPE USD) chosen to match the pairs whose 5m data actually covers 2026.AGENTS.mdAgent memory for the repo. It leads with a New conversation setup section, because every fresh container is missing
git-lfsand git commands fail until it is installed:The
apt-get updateis required. The image ships a stale apt index, so a bare install fails with "Unable to locate package git-lfs" and looks like the package is unavailable when it is only out of date. Debian trixie provides git-lfs 3.6.1.Other notes captured:
/workspaceis a shared mount. The container root is rebuilt per conversation, so apt packages and~/*dotfiles do not survive. The venv, pulled LFS data, and.git/do.git-lfsis reinstalled each session. A previous session placed a binary at/workspace/bin/git-lfswith hook andalias.lfspatches; that approach is gone, and the file says so and why.ChipsAndDipsimportsoptunaat module level, and 5m data coverage differs per pair.Security check
No credentials are committed. Verified on the diff itself:
exchange.keyandexchange.secretare empty strings — backtesting makes no authenticated calls.https://<token>@....telegram/api_serverblock, so no bot token or chat id.Verification
Config ran end to end:
Completed and reported 1 trade, +12.36%, max absolute drawdown 1.85%.
Git LFS was retested after reverting to stock hooks and the apt-installed binary: an LFS
.zipcommitted as a pointer, pushed with the pre-push hook active (object uploaded), andgit lfs fsckreports OK. No--no-verifyused.Branch is based on current
main(d7d6b00), no rebase needed.Created by an AI agent (OpenHands) on behalf of the user.
f4d473c95dto627ab19170627ab19170to6eaa260ba4