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

使用內建因子時,出現以下 error message: ValueError: Bin edges must be unique: array([nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan]). You can drop duplicate edges by setting the 'duplicates' kwarg #4

Closed
tej87681088 opened this issue Sep 6, 2023 · 0 comments
Labels
built-in factors question Further information is requested

Comments

@tej87681088
Copy link
Contributor

tej87681088 commented Sep 6, 2023

run_pipelinestart_date至少設定為bundle的start_date+1交易日

例如:

  • bundle起訖為: os.environ['mdate'] = '2021-01-04 2023-05-19'
  • run_pipelinestart_date請設定>='2021-01-05'

範例錯誤和解決:
https://github.com/tejtw/TQuant-Lab/blob/a5afecf9db5a607a36cfd088474a296b8c7bb7e9/Problem/QA_%E5%9B%A0%E5%AD%90%E5%87%BA%E7%8F%BE%20Bin%20edges%20must%20be%20unique%20array%20nan%20%E5%95%8F%E9%A1%8C.ipynb

See also:
issue #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
built-in factors question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant