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

tdx 函数 TOPRANGE / LOWRANGE #422

Open
shigubuhua opened this issue Feb 9, 2018 · 1 comment
Open

tdx 函数 TOPRANGE / LOWRANGE #422

shigubuhua opened this issue Feb 9, 2018 · 1 comment

Comments

@shigubuhua
Copy link

shigubuhua commented Feb 9, 2018

问题反馈

当您安装/使用QUANTAXIS的时候如果遇到任何问题, 您可以在这里提出,我们会在24小时内给您答复

您使用的QUANTAXIS版本号是什么?

每天使用git pull安装

您的系统信息(包括系统版本,系统架构(32/64),内存大小等等)

windows7 64

您的系统环境是什么?

- monodb
- nodejs(V9以下版本)
- python3.6 -64
- 

您需要反馈的问题

如何实现 tdx 函数 TOPRANGE / LOWRANGE
具体功能如下:
TOPRANGE
当前值是近多少周期内的最大值.
用法:
TOPRANGE(X):X是近多少周期内X的最大值
例如:TOPRANGE(HIGH)表示当前最高价是近多少周期内的最高价
LOWRANGE
当前值是近多少周期内的最小值.
用法:
LOWRANGE(X):X是近多少周期内X的最小值
例如:LOWRANGE(LOW)表示当前最低价是近多少周期内的最低价 

感谢您的反馈 如有意见和建议,请在此说明:

我只能想到对dataframe的数据列用for循环进行计算,不知是否有更好的方法?能否矢量化计算?
此问题仅供作者空闲时间考虑,是否能够在框架内实现都可。

您的联系方式(QQ/EMAIL)

QQ : 55625382

THANKS
食古不化

@yutiansut
Copy link
Owner

我研究一下

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