refactor: Environment owns modes + per-day candle cache #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refactor/environment-owns-modes"
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?
Summary
PrepareAccount, rollover quotes/orders); Trader and rollover wiring no longer branch oncfg.EnvironmentLoadWithPortfolio/LoadInstrument; simplify Live viaLiveBroker; optional rollover placer only when enabledCandleCache(localfs per UTC day): day-rounded broker fetch, exact[from,to)response; current UTC day never cached; empty past days cached as[]EventHandler, merge traders/envs intorunningTrader,paper_equityconfig, docs updateTest plan
direnv exec . go test ./...direnv exec . golangci-lint run ./...Startstill runs with separate candle cache)GetCandlespast day hits cache; current day always hits upstream and is not savedView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.