Skip to content

Latest commit

 

History

History
627 lines (322 loc) · 21.5 KB

release_note_en.md

File metadata and controls

627 lines (322 loc) · 21.5 KB

version: 2.1.0

What's Changed

  • chore(deps): upgrade dependencies with known security vulnerabilities by @linsamtw in FinMind/FinMind#480

Upgrade Notes

  • Upgrades dependencies with known security vulnerabilities; the minimum ipython version is now 8.10.0 (previously <8.0.0). Code that calls FinMind needs no changes.
  • pip install -U FinMind does not upgrade other packages already installed in your environment, so upgrade them together: pip install -U FinMind certifi aiohttp urllib3 requests pyarrow numpy
  • Patched releases of some packages no longer support Python 3.8 / 3.9; Python 3.10 or later is recommended.
  • pyarrow 26 requires numpy 2.x; if downloading whole-day data with use_object=True fails with an error saying pyarrow cannot be found, upgrade numpy.

version: 2.0.13

What's Changed

  • feat: add Taiwan stock financial report and annual report files TaiwanStockFinancialReportFile (Sponsor Pro) by @linsamtw in FinMind/FinMind#477
  • feat: taiwan_stock_financial_report_file now queries by year + quarter by @linsamtw in FinMind/FinMind#478
  • feat: add TaiwanStockAfterHoursFixedPriceTrading by @linsamtw in FinMind/FinMind#476

version: 2.0.12

What's Changed

  • docs: clarify point-in-time semantics for fundamental data by @ting-hong-shieh in FinMind/FinMind#446
  • docs(skill): add TaiwanFuturesKBar to the whole-day market-wide download list by @linsamtw in FinMind/FinMind#473
  • feat(sdk): taiwan_stock_trading_daily_report_secid_agg supports use_object whole-day download by @linsamtw in FinMind/FinMind#474

version: 2.0.11

What's Changed

  • feat: tick / minute K queries without an ID now raise an error; taiwan_futures_kbar supports use_object by @linsamtw in FinMind/FinMind#470
  • feat: add daily stock broker concentration TaiwanStockBrokerDailyConcentration by @machineCYC in FinMind/FinMind#471

version: 2.0.10

What's Changed

  • feat(taiwan_stock_kbar): document the TAIEX index stock_id="TAIEX" in the docstring and add tests by @linsamtw in FinMind/FinMind#466
  • Feat/taiwan futures k bar by @machineCYC in FinMind/FinMind#458
  • feat: get_object automatically resumes interrupted downloads with Range requests and verifies integrity by @linsamtw in FinMind/FinMind#469

version: 2.0.9

What's Changed

  • fix(backtest): stock dividends should not increase total holding cost (#453) by @linsamtw in FinMind/FinMind#457
  • ci: run the full test suite on fork PRs too (dual triggers + fork-ci approval gate) by @linsamtw in FinMind/FinMind#460
  • ci: fix checkout for fork PRs (lint back on pull_request, build opt-in) by @linsamtw in FinMind/FinMind#462
  • fix: replace deprecated Pydantic dict calls by @ting-hong-shieh in FinMind/FinMind#451
  • docs: add contributor setup and refresh repository links by @ting-hong-shieh in FinMind/FinMind#450
  • fix: include transaction fee in buy affordability check by @ting-hong-shieh in FinMind/FinMind#448
  • ci: make every check name unique and use a gate job so branch protection actually takes effect by @linsamtw in FinMind/FinMind#463
  • test: remove false-positive and shadowed tests by @ting-hong-shieh in FinMind/FinMind#447
  • fix: TPEx ETF backtests were charged 3x the securities transaction tax by @linsamtw in FinMind/FinMind#464

New Contributors

version: 2.0.8

What's Changed

  • fix: support installation on Python 3.13 / 3.14 (relax the lxml upper bound) by @linsamtw in FinMind/FinMind#456

version: 2.0.7

What's Changed

  • feat: add TaiwanStockIndustryChainMoneyFlow (Taiwan stock industry chain money flow) by @linsamtw in FinMind/FinMind#438
  • feat: add taiwan_stock_convertible_bond_put_provision (convertible bond put provision schedule) by @linsamtw in FinMind/FinMind#439
  • docs(skill): remove "no historical backfill" from storage whole-day downloads and add the earliest available date for each dataset by @linsamtw in FinMind/FinMind#444
  • feat: add TaiwanStockMarginMaintenance (individual stock margin maintenance ratio) by @linsamtw in FinMind/FinMind#443
  • fix: get_asset_underlying_type is no longer affected by the return order of duplicate TaiwanStockInfo rows by @linsamtw in FinMind/FinMind#445

version: 2.0.6

What's Changed

version: 2.0.5

What's Changed

  • docs(skill): add TaiwanOptionVix & ConvertibleBondMonthlyAnalysis to the skill dataset list by @linsamtw in FinMind/FinMind#430
  • feat: SDK support for the three active ETF datasets (holdings + holding changes + list) by @linsamtw in FinMind/FinMind#436

version: 2.0.4

What's Changed

version: 2.0.3

What's Changed

  • fix: automatically use async when stock_id_list is passed, fixing empty DataFrame results by @linsamtw in FinMind/FinMind#423

version: 2.0.2

What's Changed

  • feat: taiwan_stock_warrant_trading_daily_report supports use_object whole-day download by @linsamtw in FinMind/FinMind#421
  • deps: relax version upper bounds and upgrade to pydantic v2 to eliminate pip install conflicts by @linsamtw in FinMind/FinMind#422

version: 2.0.1

What's Changed

  • feat: add taiwan_stock_institutional_investors_wide (institutional investors buy/sell, wide table) by @linsamtw in FinMind/FinMind#418

version: 2.0.0

What's Changed

  • fix: support Python 3.12 (upgrade to pandas 2.x, ta 0.11) by @linsamtw in FinMind/FinMind#420

Upgrade Notes

  • Adds support for Python 3.12 (3.8–3.11 remain supported).
  • Starting from this release, dependencies are upgraded to pandas>=2.0 and ta>=0.11 (numpy and pydantic unchanged).
  • Code that calls FinMind needs no changes: public interfaces such as DataLoader, strategies and plotting are unchanged.
  • ⚠️ Installing / upgrading also upgrades pandas in your environment to 2.x and ta to 0.11. If your own code still uses pandas 1.x APIs removed in 2.0, you need to update it; common cases:
    • df.append() → pd.concat([...])
    • df.to_dict("r") → df.to_dict("records")
    • df.iteritems() → df.items()
  • If you cannot update it yet, pin an older FinMind version for now.

version: 1.9.12

What's Changed

  • ci: migrate from pipenv to uv by @linsamtw in FinMind/FinMind#407
  • docs(finmind skill): document use_object whole-day market-wide batch download (PR #415) by @linsamtw in FinMind/FinMind#416
  • feat: add taiwan_futures_spread_tick (futures spread tick data) by @linsamtw in FinMind/FinMind#417

version: 1.9.11

What's Changed

  • docs: finmind skill charts use Chinese labels; register wqy-zenhei to fix CJK rendering by @linsamtw in FinMind/FinMind#410
  • docs: taiwan_stock_tick_snapshot documents index codes for data_id by @linsamtw in FinMind/FinMind#413
  • feat: taiwan_stock_kbar/futures_tick/option_tick support use_object whole-day download by @linsamtw in FinMind/FinMind#415

version: 1.9.10

What's Changed

  • ci: add --dist=loadfile to pytest-xdist to fix random KeyError in test_base.py by @linsamtw in FinMind/FinMind#409
  • feat: taiwan_stock_trading_daily_report supports use_object whole-day download by @linsamtw in FinMind/FinMind#408

version: 1.9.9

What's Changed

  • docs: add TaiwanStockBlockTrade / TaiwanStockLoanCollateralBalance to the agent skill by @linsamtw in FinMind/FinMind#405
  • ci: upgrade GitHub Actions versions and fix workflow issues by @linsamtw in FinMind/FinMind#402
  • feat: add taiwan_stock_block_trade and taiwan_stock_loan_collateral_balance by @linsamtw in FinMind/FinMind#406

version: 1.9.8

What's Changed

  • fix: raise informative error when API response lacks 'data' key by @linsamtw in FinMind/FinMind#401

version: 1.9.7

What's Changed

version: 1.9.6

What's Changed

  • feat: add TaiwanFuturesSpreadTrading futures spread trading table by @linsamtw in FinMind/FinMind#379

version: 1.9.5

What's Changed

  • feat: add taiwan futures/option final settlement price methods by @linsamtw in FinMind/FinMind#378

version: 1.9.4

What's Changed

  • feat: add TaiwanStockSuspended and TaiwanStockDayTradingSuspension datasets by @linsamtw in FinMind/FinMind#377

version: 1.9.3

What's Changed

  • feat: The login function has been removed; only login_by_token can be used. by @linsamtw in FinMind/FinMind#375

version: 1.9.2

What's Changed

version: 1.9.1

What's Changed

  • add: stock id list auto in taiwan_stock_trading_daily_report function by @machineCYC in FinMind/FinMind#372

version: 1.9.0

What's Changed

1️⃣ Batching and concurrency control

Avoids network errors or refused connections caused by sending a large number (e.g. 2000) of async requests at once Adds a semaphore to limit the number of concurrent requests Supports batch processing; the batch size can be set manually or tuned automatically from machine resources 2️⃣ Shared Session for efficiency

All requests share one requests.Session and reuse TCP connections Reduces connection setup cost and speeds up fetching 3️⃣ Error handling and retry

Failed requests are retried automatically, reducing fetch failures None results from async requests are filtered out automatically to avoid AttributeError 4️⃣ Progress tracking

Uses tqdm to show the completion progress of each batch Fetch progress is visible in real time 5️⃣ Automatic performance tuning (auto_tune)

Automatically adjusts max_concurrency based on CPU cores and available memory Adapts to different environments for better stability and efficiency

version: 1.8.3

What's Changed

  • feat: add verbose params, and replace logger.warning to logger.debug by @linsamtw in FinMind/FinMind#365

version: 1.8.2

What's Changed

version: 1.8.1

What's Changed

version: 1.8.0

What's Changed

version: 1.7.9

What's Changed

version: 1.7.8

What's Changed

version: 1.7.5

What's Changed

version: 1.7.4

What's Changed

New Contributors

version: 1.7.3

What's Changed

  • feat: add futures/option institutional_investors_after_hours by @linsamtw in FinMind/FinMind#322

version: 1.7.2

What's Changed

  • add: OpenInterestLargeTraders for option and futures by @machineCYC in FinMind/FinMind#320
  • feat: update FinMind campus program PDF (FinMind 校園推廣方案.pdf) by @linsamtw in FinMind/FinMind#321

version: 1.7.1

What's Changed

version: 1.7.0

What's Changed

version: 1.6.9

What's Changed

version: 1.6.7

What's Changed

  • feat: add short sale suspension table (short covering dates) TaiwanStockMarginShortSaleSuspension by @linsamtw in FinMind/FinMind#296
  • fix: backtest compute_div_income by @linsamtw in FinMind/FinMind#297

version: 1.6.6

What's Changed

New Contributors

version: 1.6.5

What's Changed

version: 1.6.4

What's Changed

  • refactor: backtest by @linsamtw in FinMind/FinMind#274
  • feat: rm typing.Dict on add_indicators, add_buy_rule, add_sell_rule by @linsamtw in FinMind/FinMind#276
  • feat: add KdCrossOver, MAGoldenDeathCrossOver, InstitutionalInvestorsOverBuy, ShortSaleMarginPurchaseRatio by @linsamtw in FinMind/FinMind#277

version: 1.6.3

What's Changed

version: 1.6.2

What's Changed

version: 1.6.1

What's Changed

  • fix: ex_dividend_price end date need to be the same as the stock_price by @machineCYC in FinMind/FinMind#252
  • add: taiwan_securities_trader_info api in finmind package by @machineCYC in FinMind/FinMind#256
  • add: taiwan stock market value by @machineCYC in FinMind/FinMind#257
  • feat: add taiwan_stock_info_with_warrant, taiwan_stock_tick_snapshot, taiwan_futures_snapshot, taiwan_options_snapshot by @linsamtw in FinMind/FinMind#258

version: 1.5.8

  • feat: add Capital Reduction Reference Price

version: 1.5.7

  • feat: remove taiwan futopt institutional investors api, add taiwan_future_institutional_investors and taiwan_option_institutional_investors api

version: 1.5.6

version: 1.5.5

  • feat: reset timeout defacut value None and logger.info timeout msg (#192)

version: 1.5.4

  • Hotfix: fix some dependency issue (#190),
  • fix: remove error msg not show issue (#191)

version: 1.5.3

  • fix: taiwan_futopt_daily_info (#189)

version: 1.5.2

  • debug: Unable to parse datetime string

version: 1.5.1

  • feat: handle connection errors

version: 1.5.0

  • feat: add timeout and retry on request get
  • feat: add timeout params, default 30 seconds

version: 1.4.9

  • feat: add flask post.html

version: 1.4.8

  • feat: add bar, line, pie plot,
  • feat: add TaiwanStockTotalReturnIndex
  • feat: change numpy version

version: 1.4.7

  • fix: data loader pd.Period convert

version: 1.4.6

  • feat: add kline_margin_purchase_short_sale,
  • fix: taiwan_stock_daily_adj

version: 1.4.5

  • feat: add kline institutional_investors
  • fix issue #153

version: 1.4.4

  • feat: add start_date, end_date transfer,
  • fix: issue remove suspension trading data

version: 1.4.3

  • feat: add streaming_all_data

version: 1.4.2

  • fix: event loop can not exit issue

version: 1.4.1

  • feat: data loader add dataset
  • feat: add docstrings

version: 1.4.0

  • feat: add DataSubscriber
  • fix: kline ex-devidend date and trading date not match

version: 1.3.9

  • feat: add data loader, plotting

version: 1.3.8

  • Fix adjusted stock price spread

version: 1.3.7

  • Add Taiwan stock retroactive_price (adjusted stock price)

version: 1.3.6

  • feat: add EarningsDistribution

version: 1.3.5

  • fix: TAIEX dropna

version: 1.3.4

  • Add backtesting Taiwan market same-period annualized return
  • Remove tax and fee from the trade_detail property in backtesting
  • Add EverytimeTotalProfit (total assets) to the trade_detail property in backtesting
  • Add descriptions for the kd, Naitvekd, and ContinueHolding strategies
  • Add the first day backtesting result

version: 1.3.3

  • feat: update pandas version

version: 1.3.2

  • feat: add add_strategy

version: 1.3.0

  • fix: version

version: 1.2.8

  • Fix sell action not selling

version: 1.2.6

  • feat: add version