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

detailed parameters discriptions on timegrid3 and timegrid4? #4

Closed
jojogh opened this issue Jan 15, 2021 · 4 comments
Closed

detailed parameters discriptions on timegrid3 and timegrid4? #4

jojogh opened this issue Jan 15, 2021 · 4 comments

Comments

@jojogh
Copy link

jojogh commented Jan 15, 2021

hi, I noticed that you recreated the timegrid class, and what the detailed paremeters discriptions on both class init, say frequency_month,and frequency_day?
timegrid3 = mx.TimeGrid(refDate=ref_date, maxYear=10, frequency='endofmonth')
timegrid4 = mx.TimeGrid(refDate=ref_date, maxYear=10, frequency='custom', frequency_month=8, frequency_day=10)

what the meaning on frequency_month=8, frequency_day=10? and what is the different if frequency_month=1, frequency_day=1?

@montrixdev
Copy link
Owner

hi, it was a bug. frequency='custom' should be frequency_type='annual'.
i tried to fix day or month, while date is rooping using frequency_type( month, quarter, semiannual, annual ).
frequency_month is only used that frequency_type is 'annual'.
frequency_day is only used that frequency_type is ( month, quarter, semiannual, annual ).
i write samples of timegrid on "run_test_etc.py"
thank you.

@jojogh
Copy link
Author

jojogh commented Jan 16, 2021

ok,sure. BTW, when will the Linux version be released, seems it is not distributed to pip channel?

@jojogh jojogh closed this as completed Jan 16, 2021
@jojogh jojogh reopened this Jan 16, 2021
@montrixdev
Copy link
Owner

hi, the Linux version is released on 0.8.32.1 now. you can use pip channel.
thank you.

@jojogh
Copy link
Author

jojogh commented Jan 17, 2021

ok thanks i like your project

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

2 participants