Version change history
About 3 min
3.0.1 (2023-06-21)
New
- Historical K-line quota api
- New profit/loss field for position objects by average cost
- PushClient add stock/option top data
3.0.0 (2023-06-08)
Breaking
- PushClient changed default from stomp to protobuf
2.4.0 (2023-06-07)
New
- Support for option combination orders
Fix
- Fix indexing error in pandas field when paged k-line data is empty
2.3.9 (2023-06-01)
Fix
- Fix the problem that protobuf push tick data is not decompressed
Modify
- Modify order status push proto definition, add userMark
2.3.8 (2023-05-09)
New
- Contract interface added field margin offer information
- QuoteClient New interface to get stock market scanner tags
Modify
- Modify some fields of the stock scanner
2.3.7 (2023-04-18)
New
- TradeClient adds an interface for estimating sellable quantity
TradeClient.get_estimate_tradable_quantity
Order
New field for order objectexternal_id
Position
new fieldsaleable
added to position object, only A shares have value;saleable
field added to position push object
2.3.6 (2023-04-11)
New
- QuoteClient added
QuoteClient.get_warrant_filter
,QuoteClient.get_warrant_briefs
,QuoteClient.get_warrant_briefs
QuoteClient.get_option_bars
new parameterlimit
for option k-line interface
2.3.5 (2023-03-28)
New
TradeClient segment fund api:
TradeClient.get_segment_fund_available
TradeClient.transfer_segment_fund
TradeClient.cancel_segment_fund
TradeClient.get_segment_fund_history
TradeClient.place_forex_order
QuoteClient.get_option_bars
supportperiod
2.3.4 (2023-03-20)
New
- support AM/AL order
2.3.3 (2023-03-10)
Modify
- token refresh. pip install watchdog enable token file monitor
Fix
- fix calendar api
2.3.2 (2023-03-03)
New
- PushClient support Protobuf
2.3.1 (2023-02-23)
New
- support 2FA token refresh duration, set client_config.token_refresh_duration = 0 to disable auto refresh.
Fix
- fix tick push
2.3.0 (2023-02-16)
New
- support config file; 2FA token
2.2.9 (2023-02-09)
Fix
- Fix tick push issue
Modify
- retry mechanism. client_config.retry_max_tries, when set to 0, means no retry
2.2.8 (2023-02-03)
Fix
- fix Option util
2.2.7 (2023-01-11)
New
- support log path
2.2.6 (2022-12-14)
Fix
- fix Windows gbk encode error when install
2.2.5 (2022-12-12)
New
tigeropen.trade.domain.contract.Contract
add new attributes:is_etf
,etf_leverage
2.2.4 (2022-12-09)
new
QuoteClient.get_capital_flow
QuoteClient.get_capital_distribution
QuoteClient.get_stock_broker
2.2.3 (2022-12-07)
new
- Market scanner
QuoteClient.market_scanner
2.2.2 (2022-11-22)
New
- Order support GTD(good til date), can set by
time_in_force = "GTD"
- PushClient support order transaction detail subscription
2.2.1 (2022-11-07)
Fixed
- Fix
TradeClient.get_trade_ticks
begin_index argument 0 value
2.2.0 (2022-11-01)
New
PushClient
support futures ticks. Subscribe viaPushClient.subscribe_tick
and receive callbacks usingPushClient.tick_changed
2.1.9 (2022-10-12)
New
- Support multi-license configuration, request different domain name by license. You can specify the license via client_config.license
Modify
Contract
new propertiesshort_initial_margin
,short_maintenance_margin
, new methodto_str()
to print all propertiesQuoteClient.get_financial_report
add parametersbegin_date
,end_date
QuoteClient.get_trade_ticks
compatible with version 1.0 interface
2.1.8 (2022-08-26)
Modify
TradeClient.get_orders
New parameterseg_type
, can specify the type of trade (SEC/FUT/ALL)PushClient
Modify the number of auto-reconnect retriesTradeClient.get_contract
interface version upgraded to V3
Fixed
- Fix the problem that
TradeClient.get_contract
returns null when getting HK stock options contracts
2.1.7 (2022-08-19)
New
- new api
QuoteClient.get_all_future_contracts
- The attach order supports trail type
Breaking
QuoteClient.get_future_trade_ticks
, argument 'identifier' now only supports one.
2.1.6 (2022-08-11)
Modify
- Support global time zone configuration, you can set the time zone through ClientConfig.timezone
2.1.5 (2022-08-01)
Modify
- The trade-related api supports global language configuration, and the default language can be changed via ClientConfig.language
2.1.4 (2022-07-18)
New
- Added historical asset analysis interface
TradeClient.get_analytics_asset
- Added new contract price correction tool function
tigeropen.common.util.price_util.PriceUtil
, which corrects the input order price based on the requested contract tick size - Order object new property: update time:
update_time
TradeClient.get_orders
(get_open_orders/get_filled_orders)` Support specified sorting rules, sort by order creation time or order status update time- Query position api
TradeClient.get_positions
supports option element (expiry, strike, put_call) parameter filtering
2.1.3 (2022-07-01)
New
- New method for long connections tick data:subscribe
PushClient.subscribe_tick
, unsubscribePushClient.unsubscribe_tick
- New subscribed query callback method
PushClient.query_subscribed_callback
replaces the oldPushclient.subscribed_symbols
QuoteClient.get_trade_ticks
adds a newtrade_session
parameter, which can be specified to query pre and post market data
Modify
Pushclient.subscribed_symbols
marked as deprecated
2.1.2 (2022-06-14)
Modify
- upgrade stomp.py, from 4.1.24 to 8.0.1
Breaking
- PushClient remove
auto_reconnect
parameter - handle connection kicked out error
2.1.1 (2022-05-25)
New
- add apis of query bars by page Stock:
QuoteClient.get_bars_by_page
Future:QuoteClient.get_future_bars_by_page
QuoteClient.get_future_bars
,QuoteClient.get_bars
addpage_token
parameter,which used to locate next pagetigeropen.trade.domain.order.Order
adduser_mark
attribute,when place order, can pass a custom remark (need to apply)
2.1.0 (2022-05-07)
New
- dynamic configure server domain
- add Option helper(examples.option_helpers.helpers)
- add api
QuoteClient.get_future_contract
- add api
TradeClient.get_derivative_contracts
2.0.9 (2022-04-18)
New
- add api
QuoteClient.get_timeline_history
- Order add new fields sub_ids: sub order id list adjust_limit: limit order price adjust percent
Breaking
TradeClient.place_order
,TradeClient.modify_order
,TradeClient.cancel_order
return value,True
orFalse
change to order's id- Auth grab quote permission. Grab permission when
QuoteClient
initialization,provide paramis_grab_permission
, ifFalse
, do not grab permission.
2.0.7 (2022-01-31)
Modify
- change domain
2.0.6 (2022-01-24)
New
- Contract add new fields marginable: close_only: shortable_count:
- Order add new fields attr_desc:
source:
Breaking
tigeropen.quote.request.OpenApiRequest
move totigeropen.common.request.OpenApiRequest
2.0.5 (2022-01-10)
New
- Add api QuoteClient.get_quote_permission
- Add api TradeClient.get_transactions
- Add a full demo
Changed
- Enum value optimization
- TradeClient.place_order remove Order.order_id checking
- Remove pandas fixed version number
Breaking
- QuoteClient.grab_quote_permission return data,'expireAt' convert to 'expire_at'
2.0.4 (2021-12-08)
New
- Add api TradeClient.get_prime_assets
2.0.3
New
- Add api QuoteClient.get_option_chain
- Add api QuoteClient.get_stock_delay_briefs
2.0.2 (2021-11-01)
Changed
- Remove client_config some attributes
- PushClient optimization
2.0.1 (2021-09-18)
Breaking
- Remove Python2 compatible
1.4.0 (2021-06-28)
New
- Add depth quote
- Add quote permission grab api
1.2.0 (2020-04-02)
New
- Add industry api
1.1.10 (2020-01-19)
New
- Add company action api
- Add attach order api
1.1.9 (2019-10-28)
Fixed
- Fix 1.1.8 setup problem