2 Star 1 Fork 0

云金杞 / ibapi

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
softdollartier.py 553 Bytes
一键复制 编辑 原始数据 按行查看 历史
云金杞 提交于 2021-12-25 13:27 . add ibapi to this repo
"""
Copyright (C) 2019 Interactive Brokers LLC. All rights reserved. This code is subject to the terms
and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable.
"""
from ibapi.object_implem import Object
class SoftDollarTier(Object):
def __init__(self, name = "", val = "", displayName = ""):
self.name = name
self.val = val
self.displayName = displayName
def __str__(self):
return "Name: %s, Value: %s, DisplayName: %s" % (self.name, self.val, self.displayName)
Python
1
https://gitee.com/yunjinqi/ibapi.git
git@gitee.com:yunjinqi/ibapi.git
yunjinqi
ibapi
ibapi
master

搜索帮助