We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Just run this:
import vectorbt as vbt import pandas as pd price = vbt.YFData.download( "BTC-USD", start="2024-03-01 UTC", end="2024-07-01 UTC" ).get("Close") size = [1.0, -1.0] * (len(price) // 2) pf = vbt.Portfolio.from_orders( close=price, size=size, # lock_cash=True, ) pf.plot().show()
And if enable local_cache, the result will be normal:
local_cache
But the sequences $[1, -1, 1, -1, ...,, 1, -1]$ do not lead to oversold.
I use vetcotbt 0.26.2 and tested on Windows10 and Manjaro
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Just run this:
And if enable
local_cache
, the result will be normal:But the sequences$[1, -1, 1, -1, ...,, 1, -1]$ do not lead to oversold.
I use vetcotbt 0.26.2 and tested on Windows10 and Manjaro
The text was updated successfully, but these errors were encountered: