Releases
v1.15.0
New Features and Modules:
Created AccountHandler
to manage account settings.
Created a UserEnv
object to store user-related settings.
Added get_env
.
Added the objs
module for default data.
Added the simulator
module for handling simulation trades.
Added a new function append_monitor_list
for specific situations requiring more information.
Added FILTER_IN
to .env
file to associate codes with strategies.
Added MonitorFreq
to allow users to determine monitor frequency.
Added a new function is_trading_time
to check if the current time is within trading hours.
Added 1T K-bar feature generation during 1T K-bar data updates.
Added futures FILTER_OUT
.
Added new function Config.LOG_LEVEL
.
Refactoring:
Refactored FileHandler
.
Refactored check_leverage
.
Refactored the structure of config objects.
Updated KBar, Quote, stocks_to_monitor
, futures_to_monitor
, and related data as metaclass objects.
Module Updates:
Updated thread_subscribe()
.
Updated the callback
, orders
, positions
, select
, strategy
, subscribe
, executor
, crawler
, and timetool
modules.
Updated the kbar
module.
Updated crawl_from_sinopac
to change the default value of the start day when start
is None
.
Updated is_trading_time
to include logic for checking futures due days.
Updated the process to create/update K-bar data.
Updated the process of outputting files.
Updated the process of transferring positions.
Updated the redis
module.
Updated the process of acquiring futures index margin data from Taifex.
Updated get_margin_table()
.
Updated the task list.
Updated the format of push futures/options notifications.
Updated the logic to check futures due months.
Updated get_settle_profitloss()
.
Updated Shioaji
to the latest version.
Updated sleep time in the monitoring while
loop.
Updated the TickDataProcesser
module.
Updated compute_profits()
.
Updated the calculation procedure of futures returns.
Updated median profit/loss for backtesting.
Updated the RSV
module.
Updated log message formats and types.
Updated README.md
.
Bug Fixes:
Fixed errors in _get_value
, transfer position
, and other processes.
Fixed nan
values.
Fixed save_simulate_securityInfo
.
Fixed periodic_updates
.
Fixed the process of converting 1min-K-bar to other frequencies.
Fixed update_kbar
.
Fixed get_put_call_ratio
.
Fixed cancel order
.
Fixed check_is_empty
.
Other bug fixes.
You can’t perform that action at this time.