uiKLine icon indicating copy to clipboard operation
uiKLine copied to clipboard

UI Tool for KLine Displaying

Results 8 uiKLine issues
Sort by recently updated
recently updated
newest added

@moonnejs ,您好 K线图实现向您请教下如下问题, 1、您现在这个程序包中,是否可以实现多个K线图标的的数据叠加? 如果可以实现,恳请指导下具体修改哪几个关键地方?谢谢! 2、目前您了解的是否有可实现这部分的例子可供参考?恳请推荐下能够完整这部分功能的范例,恳请推荐下能够完成这部分功能的视频学习资料,谢谢! 实现效果图如下: ![111](https://user-images.githubusercontent.com/31505150/115651939-d0301f00-a35e-11eb-948d-14bfa90595b1.png) 恳请百忙中指导下,非常感谢!

uiKLineTool.py文件的 ``` print u'正在准备回测结果数据....' self.canvas.clearData() self.pdBars = data[['open','close','low','high','volume','openInterest']] self.canvas.loadData(self.pdBars) self.canvas.updateSig(self.signals) ``` 后面插入一行 ``` self.canvas.refreshAll() ``` 就可以了

# packages in environment at D:\soft\Anaconda\envs\py2: # # Name Version Build Channel blas 1.0 mkl defaults ca-certificates 2021.1.19 haa95532_0 defaults certifi 2020.6.20 pyhd3eb1b0_3 defaults cycler 0.10.0 py27h59acbbf_0 defaults enum34 1.1.6...

Hope it will be upgrade to support PyQt5. [email protected] Wechat:28888502

真的很棒 虽然只有uiKline.py能运行

PySide-1.2.4.tar.gz (9.3MB) Complete output from command python setup.py egg_info: only these python versions are supported: [(2, 6), (2, 7), (3, 2), (3, 3), (3, 4)]

安装了PyQT5和PySide,运行uiKLine.py正常,但是运行uiKLineTool.py没有界面出现,直接退出: C:\Python\Python36\lib\site-packages\qtpy\__init__.py:211: RuntimeWarning: Selected binding "pyqt" could not be found, using "pyside" 'using "{}"'.format(initial_api, API), RuntimeWarning) Process finished with exit code -1073740791 (0xC0000409)

uiKLine.KLineWidget.onBar():十字光标无法显示新增bar的数据 代码重现: if __name__ == '__main__': app = QApplication(sys.argv) # 界面设置 cfgfile = QtCore.QFile('css.qss') cfgfile.open(QtCore.QFile.ReadOnly) styleSheet = cfgfile.readAll() styleSheet = unicode(styleSheet, encoding='utf8') app.setStyleSheet(styleSheet) # K线界面 ui = KLineWidget() ui.show() ui.KLtitle.setText('rb1701',size='20pt')...