Add BTC 2025 daily simulation.#216
Open
RZhang05 wants to merge 11 commits intojribbink/time-series-simfrom
Open
Add BTC 2025 daily simulation.#216RZhang05 wants to merge 11 commits intojribbink/time-series-simfrom
RZhang05 wants to merge 11 commits intojribbink/time-series-simfrom
Conversation
jribbink
reviewed
Mar 18, 2026
jribbink
left a comment
There was a problem hiding this comment.
looks good, maybe out of scope for ths PR, but we should probably switch these simulations use "real" BTC collateral instead of FLOW if easy enough
Author
Good point, added in f3e40b6 |
3774ed0 to
9c8d88d
Compare
| log("Notes: \(btc_daily_2025_notes)") | ||
| log("") | ||
| log("Rebalance Triggers:") | ||
| log(" HF (Position): triggers when HF < 1.1 or HF > 1.5, rebalances to HF = 1.3") |
Member
There was a problem hiding this comment.
I pushed some changes to add this, and the log also prints the HF for both Before and After the rebalancing on each day
zhangchiqing
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes: #202
Description
Add missing files, extend existing functionality to support fetching BTC prices from CMC.
For contributor use:
masterbranchFiles changedin the Github PR explorer