from trader_tool.bond_cov_data import bond_cov_data import matplotlib.pyplot as plt # 创建 bond_cov_data 类的实例 bond_cov_data_instance = bond_cov_data() def get_intraday_data(stock, data_type='1', fqt='1', limit='800', count='240'): try: hist_data = bond_cov_data_instance...
Enhancing PythonTrader Once you have a basic understanding of PythonTrader, you can start enhancing it with additional features and strategies. For example, you can add technical indicators such as the Relative Strength Index (RSI) or the Moving Average Convergence Divergence (MACD) to make more i...
Dennis H, Camila C, Egor U, David T, Cameron W, Napoleon Hernandez, Keeshen A, Daniel E, Daniel H, M.Patterson, Asen K, Virgil J, Balazs Trader, Stan L, Con L, Will D, Scott K, Barry K, Pawel D, S Ray, Richard C, Peter L, Thomas L., Wang H, Oliver Lee, Christian L...
You can run your algorithm from the CLI tool namedpylivetrader, simply like below. Then your algorithm starts running with broker API. You don't need the data bundle file in advance unlike zipline does. $ pylivetrader run -f algo.py --backend-config config.yaml ...
开发者ID:reprior123,项目名称:TraderSoftwareRP,代码行数:35,代码来源:VideoGLWidget.py 示例10: __init__ ▲点赞 1▼ def__init__(self, parent=None):QGLWidget.__init__(self, parent) self._image2Display = [] self._texture = []#: Opengl texture variableself._zoom =1.0self._mouseX =...
前往:http://quantapi.10jqka.com.cn/?page=home如果是windows,根据不同用户,可以选择不同的下载。1、iFinDPy 模块下载完成后,会出现一个DataInterface_free_Windows_20210812.7z的文件,解压到任意文件夹中。打开该文件夹进入Bin文件夹后,再打开Tool文件夹,双击运行SuperCommand.exe,并使用iFi ...
一:对于量化投资和分析,选择Python或Matlab取决于以下因素 成本:如果预算有限,Python的开源特性可能更有...
[tool.pdm.scripts] start.cmd = "flask run -p 54321" start.env_file = ".env" 如果想要把这个环境变量的文件不仅限于某个命令,而是 pdm run 全局,可以这样配置 [tool.pdm.scripts] _.env_file = ".env" 加--list 或者-l可以查看所有设置的快捷别名 对于每一个快捷命令,都可以设置 pre 和 post ...
(self):"""Initiate the destroy tool"""self.toggle_cursor('tearing')defautosave(self):raiseNotImplementedErrordefquicksave(self):raiseNotImplementedErrordefquickload(self):raiseNotImplementedErrordefsave(self, savegame=None):raiseNotImplementedErrordefload(self, savegame, players, trader_enabled, pirate_...
#-*- coding: utf-8 -*-"""In this example we draw two different kinds of histogram."""fromqtpyimportQtWidgets, QtGui, QtCorefromqtpy.QtWidgetsimportQApplication, QWidgetimportdatetime as dtfromvnpy.traderimport*fromvnpy.trader.uiKLineimport*fromvnpy.trader.widget.crosshairToolimportCrosshairTool...