1 Star 0 Fork 16

kaka2436/traderStock-gui

forked from macroan/traderStock-gui 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
globalvar.py 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
macroan 提交于 2017-04-01 19:18 . no commit message
#coding=utf-8
class GlobalVar:
app_handle = None
win_handle = None
stock_handle = None
ma_handle = None
kdj_handle = None
boll_handle = None
macd_handle = None
vol_handle = None
db_handle = None
def set_app_handle(app):
GlobalVar.app_handle = app
def get_app_handle():
return GlobalVar.app_handle
def set_win_handle(w):
GlobalVar.win_handle = w
def get_win_handle():
return GlobalVar.win_handle
def get_stock_handle():
return GlobalVar.stock_handle
def set_stock_handle(s):
GlobalVar.stock_handle = s
def get_ma_handle():
return GlobalVar.win_handle
def get_ma_handle():
return GlobalVar.ma_handle
def set_ma_handle(ma):
GlobalVar.ma_handle = ma
def get_kdj_handle():
return GlobalVar.kdj_handle
def set_kdj_handle(kdj):
GlobalVar.kdj_handle = kdj
def get_macd_handle():
return GlobalVar.macd_handle
def set_macd_handle(macd):
GlobalVar.macd_handle = macd
def get_vol_handle():
return GlobalVar.vol_handle
def set_vol_handle(vol):
GlobalVar.vol_handle = vol
def get_db_handle():
return GlobalVar.db_handle
def set_db_handle(db):
GlobalVar.vol_handle = db
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/kaka2436/traderStock-gui.git
git@gitee.com:kaka2436/traderStock-gui.git
kaka2436
traderStock-gui
traderStock-gui
master

搜索帮助