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
def _qtd(df): date = _dt.datetime.now() for q in [1, 4, 7, 10]: if date.month <= q: return df[df.index >= _dt.datetime(date.year, q, 1).strftime("%Y-%m-01")] return df[df.index >= date.strftime("%Y-%m-01")]
when today.month == 2 ,it loc df.index >= 'xxxx-04-01'
The text was updated successfully, but these errors were encountered:
Check out https://github.com/Lumiwealth/quantstats_lumi, which is being updated regularly. We are a fork of this library that is being maintained by Lumiwealth
Sorry, something went wrong.
No branches or pull requests
def _qtd(df):
date = _dt.datetime.now()
for q in [1, 4, 7, 10]:
if date.month <= q:
return df[df.index >= _dt.datetime(date.year, q, 1).strftime("%Y-%m-01")]
return df[df.index >= date.strftime("%Y-%m-01")]
when today.month == 2 ,it loc df.index >= 'xxxx-04-01'
The text was updated successfully, but these errors were encountered: