-
Notifications
You must be signed in to change notification settings - Fork 20
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
HBS-3213: add etf fields #97
base: master
Are you sure you want to change the base?
Conversation
links/etf.pine.link
Outdated
threeYears_ago = timenow - 1000 * 60 * 60 * 24 * threeYears | ||
countOfBars3YearsAgo = fastSearchN(time, threeYears_ago, threeYears) | ||
|
||
countETF(history, _bb, maxbarsback) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а эта формула перфов точно такая же, как и для маркеткапов, что делал Коля? там и периоды те же. можем переиспользовать, когда его код помержится.
links/etf.pine.link
Outdated
countYTD(history, lastYearOpen) => | ||
(history-lastYearOpen)/lastYearOpen | ||
|
||
etfYTD(history) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
и это тоже уже считается где-то
a9b7e3f
to
27487ab
Compare
No description provided.