Skip to content

Commit dff3673

Browse files
committed
Merge branch 'feature_stock_screener' into 'dev'
Feature stock screener See merge request server/openapi/openapi-python-sdk!141
2 parents 4db758a + dba1701 commit dff3673

File tree

15 files changed

+859
-20
lines changed

15 files changed

+859
-20
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 2.2.3 (2022-12-07)
2+
### new
3+
- 选股器 `QuoteClient.market_scanner`
4+
5+
16
## 2.2.2 (2022-11-22)
27
### New
38
- 订单支持GTD类型, 下单时可通过指定 Order 属性 time_in_force = "GTD" 设置

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@
88
from setuptools import find_packages, setup
99
from tigeropen import __VERSION__
1010

11-
1211
with open(path.join(path.abspath(path.dirname(__file__)), 'requirements.txt')) as f:
1312
install_requires = f.read()
13+
with open(path.join(path.abspath(path.dirname(__file__)), 'README.md')) as f:
14+
long_description = f.read()
1415

1516
setup(
1617
name='tigeropen',
1718
version=__VERSION__,
1819
description='TigerBrokers Open API',
20+
long_description=long_description,
21+
long_description_content_type='text/markdown',
1922
packages=find_packages(exclude=["tests"]),
2023
author='TigerBrokers',
2124
author_email='[email protected]',

tigeropen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
55
@author: gaoan
66
"""
7-
__VERSION__ = '2.2.2'
7+
__VERSION__ = '2.2.3'

tigeropen/common/consts/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
Leverage, Profitability
1212
from .quote_keys import QuoteChangeKey, QuoteKeyType
1313

14+
OPEN_API_SERVICE_VERSION_V1 = "1.0"
1415
OPEN_API_SERVICE_VERSION = "2.0"
1516
OPEN_API_SERVICE_VERSION_V3 = "3.0"
1617

@@ -149,6 +150,13 @@ class IndustryLevel(Enum):
149150
GSUBIND = 'GSUBIND'
150151

151152

153+
@unique
154+
class SortDirection(Enum):
155+
NO = 'SortDir_No'
156+
ASC = 'SortDir_Ascend'
157+
DESC = 'SortDir_Descend'
158+
159+
152160
@unique
153161
class TickSizeType(Enum):
154162
CLOSED = 'CLOSED'

0 commit comments

Comments
 (0)