Skip to content

Split ​

FreeValueStandardPro

Fetch the split events of a symbol across a date range.

  • Returns the split events for a symbol with an effective date between the specified dates (inclusive). One row per split event.
  • A 4-for-1 forward split reports before_shares 1, after_shares 4, split_ratio 0.25 and event_code SD. A 1-for-10 reverse split reports before_shares 10, after_shares 1, split_ratio 10 and event_code CONSD.
AAPL · 20250303 · 20250306
Client
Auth
Style
from thetadatadx import Client

client = Client.from_env()

rows = client.market_data.corporate_action_split(
    "AAPL", "20250303", "20250306",
)
for t in rows:
    print(t.effective_date, t.before_shares, t.after_shares)
Sample response · JSON
[
  {
    "after_shares": 7,
    "before_shares": 1,
    "effective_date": "2014-06-09",
    "event_code": "SD",
    "split_ratio": 0.142857143
  },
  {
    "after_shares": 4,
    "before_shares": 1,
    "effective_date": "2020-08-31",
    "event_code": "SD",
    "split_ratio": 0.25
  }
]

Parameters ​

NameTypeRequiredDefaultDescription
symbolstringyes-Ticker symbol (e.g. AAPL)
start_datedateyes-Start date YYYYMMDD
end_datedateyes-End date YYYYMMDD
timeout_msintno-Per-request deadline in milliseconds. 0 means no deadline.

Response ​

Rows of Split:

FieldTypeDescription
effective_datei32Effective date of the split as a YYYYMMDD integer. The range filter and sort key.
before_sharesf64Number of shares before the split.
after_sharesf64Number of shares after the split.
split_ratiof64Shares before the split divided by shares after it.
event_codestringSplit direction: SD for a forward split, CONSD for a reverse split.

Released under the Apache-2.0 License.