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_shares1,after_shares4,split_ratio0.25 andevent_codeSD. A 1-for-10 reverse split reportsbefore_shares10,after_shares1,split_ratio10 andevent_codeCONSD.
AAPL · 20250303 · 20250306
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
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
symbol | string | yes | - | Ticker symbol (e.g. AAPL) |
start_date | date | yes | - | Start date YYYYMMDD |
end_date | date | yes | - | End date YYYYMMDD |
timeout_ms | int | no | - | Per-request deadline in milliseconds. 0 means no deadline. |
Response
Rows of Split:
| Field | Type | Description |
|---|---|---|
effective_date | i32 | Effective date of the split as a YYYYMMDD integer. The range filter and sort key. |
before_shares | f64 | Number of shares before the split. |
after_shares | f64 | Number of shares after the split. |
split_ratio | f64 | Shares before the split divided by shares after it. |
event_code | string | Split direction: SD for a forward split, CONSD for a reverse split. |