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

关于美股的盘前盘中盘后数据切换问题 #204

Closed
flbamao opened this issue May 10, 2024 · 8 comments
Closed

关于美股的盘前盘中盘后数据切换问题 #204

flbamao opened this issue May 10, 2024 · 8 comments

Comments

@flbamao
Copy link

flbamao commented May 10, 2024

请问一下,hqchart支持类似富途牛牛的这种美股的盘前盘中盘后的数据切换吗

20240510_152123.mp4
@jones2000
Copy link
Owner

HQChart实战教程6-自定义分时图
定义3个类型
XX_盘前.ET
XX_盘中.ET
XX_盘后.ET

@flbamao
Copy link
Author

flbamao commented May 16, 2024

HQChart实战教程6-自定义分时图 定义3个类型 XX_盘前.ET XX_盘中.ET XX_盘后.ET

请问NetworkFilter回调里面这个MinuteChartContainer::RequestMinuteData是什么情况下触发的,一直没走到这里面

@jones2000
Copy link
Owner

setoption里面设置了Symbol 就会触发

@flbamao
Copy link
Author

flbamao commented May 20, 2024

setoption里面设置了Symbol 就会触发

最新版的hqchart用demo里面测试数据,会出价格NaN的情况,其他数据正常
image

@jones2000
Copy link
Owner

我试了示例是好的,显示正确的。 https://jones2000.github.io/HQChart/webhqchart.demo/demo/et_minute.html

@flbamao
Copy link
Author

flbamao commented May 20, 2024

我试了示例是好的,显示正确的。 https://jones2000.github.io/HQChart/webhqchart.demo/demo/et_minute.html

我用这个示例也是好的,但是同样的数据换到vue3安装最新的hqchart就不行了。

@jones2000
Copy link
Owner

看不出来,可能是获取小数位数有问题吧。 具体要调试才知道了。
image

@flbamao
Copy link
Author

flbamao commented May 20, 2024

看不出来,可能是获取小数位数有问题吧。 具体要调试才知道了。 image

好的,我调一下看看,谢谢

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