Skip to content
New issue

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

why the different formats of dates in quant_figure? #274

Open
ghost opened this issue Nov 18, 2021 · 1 comment
Open

why the different formats of dates in quant_figure? #274

ghost opened this issue Nov 18, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 18, 2021

hi, i first want to thank you and tell you how great cufflinks is.
i am completely new to coding so please excuse this if it is my lack of knowledge.
I've been trying to add trendline to a qf chart but the date key keeps throwing an error.
i looked at the code and noticed the following:
def _get_trendline(self,date0=None,date1=None,on=None,kind='trend',to_strfmt='%Y-%m-%d',from_strfmt='%d%b%y',**kwargs):

it seems to me that the to and from dates are formatted differently.
it is the same in
def _get_sliced(self,slice,df=None,to_strfmt='%Y-%m-%d',from_strfmt='%d%b%y')

are these correct?

@ghost
Copy link
Author

ghost commented Nov 18, 2021

it doesn't matter how i format the date, it throws an error. even if i paste the example from your slide presentation of and line overlay
support, resistance, trendline.
any help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants