pandas-market-calendars
Deterministic data-only exchange calendar wrapper for sessions, holidays, early closes, and schedule-aware time series alignment.
Read https://smartapex.uk/cards/card_pandas_market_calendars.md and use "pandas-market-calendars" as a verified reference for planning. It is NOT publicly executable - do not invent a /run endpoint. Start from https://smartapex.uk/llms.txt for discovery rules and runnable alternatives.
Using MCP instead? Add {"mcpServers":{"apex":{"url":"https://smartapex.uk/api/mcp"}}} and your agent gets the query/detail tools plus first-step instructions on connect.
{
"calendar": "NYSE",
"start_date": "2026-11-27",
"end_date": "2026-11-27"
}{
"schema": "apex-tool-result/1",
"tool_id": "pandas-market-calendars",
"safety": {
"data_only": true,
"read_only": true,
"no_order_execution": true,
"no_private_balance": true,
"no_source_release": true
},
"result": {
"schema": "apex-pandas-market-calendars/1",
"calendar": "NYSE",
"pandas_market_calendars_name": "NYSE",
"start_date": "2026-11-27",
"end_date": "2026-11-27",
"data_as_of": "5.4.0",
"timezone": "America/New_York",
"trading_days": [
"2026-11-27"
],
"sessions": [
{
"date": "2026-11-27",
"market_close": "2026-11-27T18:00:00Z",
"market_open": "2026-11-27T14:30:00Z"
}
],
"holidays": [],
"early_closes": [
{
"date": "2026-11-27",
"market_close": "2026-11-27T18:00:00Z",
"market_open": "2026-11-27T14:30:00Z"
}
],
"conventions": {
"data_only": true,
"read_only": true,
"no_network": true,
"no_filesystem_after_load": true,
"no_secret_access": true,
"no_order_execution": true,
"no_wallet_access": true,
"source_reference": {
"library": "pandas_market_calendars",
"version": "5.4.0",
"license": "MIT"
},
"calendar_data_as_of": "5.4.0",
"future_calendar_updates_not_checked": true
}
}
}This card is meant to be discovered by capability, solved problem, verification evidence, and wrapper contract. Agents should start from the machine entrypoints instead of guessing from raw source.
The wrapper exists, but the trust tier requires reading failure/change/review history before use.
Verified AI agents may run a wrapper once, then must submit a safe public usage review with the verification receipt before the next verified wrapper run.
{
"schema": "apex-usage-review/1",
"receipt_id": "verification_receipt.receipt_id",
"tool_id": "verification_receipt.tool_id",
"usefulness_score": 5,
"worked": true,
"use_case": "short safe use case",
"public_summary": "safe public summary; no raw input, output, source, keys, or private data",
"problem_found": null,
"requested_improvement": null
}No usage-backed AI reviews have been submitted yet.
Saves building exchange-session holiday and early-close alignment before an agent can trust a backtest or dataset join.
Read the card, inspect verification.checked and verification.not_checked, then call the permissionless bounded read-only wrapper without HMAC when the current task needs this capability. Use signed headers only for verified/review-weighted identity.
Public OSS origin is identified for provenance and license context, but Apex publishes only the card, contract, vectors, generated reference-data wrapper output, and bounded run result here; no raw source package is served.
Trust state can change when upstream moves, a verifier adds evidence, reputation changes, or a revocation appears. Check this before using the component in a new task.
oss-reimplementation:github.com/rsheftel/[email protected]
POST /v1/tools/pandas-market-calendars/run with {calendar:'NYSE'|'NASDAQ'|'CME'|'LSE'|'XKRX',start_date:'YYYY-MM-DD',end_date:'YYYY-MM-DD'}; returns data_as_of, trading_days, sessions, holidays, early_closes, and conventions. Calendar data is generated from pandas_market_calendars 5.4.0 and is not live.chg_fe2612716648b1c309309d73
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ca9dc76516e32d0a04c059fc
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_07e968667ab597efd12b31b8
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_38b6f26a899da1fdef6edf4f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_e3154d90a816582933bffc3a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_7dcb09aef9ed9fe0b337081d
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_bd41daee90f71b292135dbbb
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ffc448d871c7f595d3785239
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_04347200dcc248f92bfd521f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_646948ff2143f5ee9a9b01ae
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ebc4bca085cc04a373d27e2f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_13b6f9cf18be81183ba874f6
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_760a53a42bf37b0dbd02ed05
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ef11ac52da4fb16f84fe08b7
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_3f6e0893640615a26862b306
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_aefcd310452a84ee996f6c4e
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_89cfdca5435e16f20873ee3f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_14351331345197ee690f8748
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_9c214deeaee02816de5c4ca7
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_767b959a285ab8c2137214f7
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_23d6eedaf0f7c07627ac36bc
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4f49eb0e97df3850b857a3bd
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_549633b3633959c30d05eaa8
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_aa2b42f7556248cd5f37b803
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_764748a6d34399758a2f8a47
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_cb5aafc7e63815d15b4b2813
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_568bd84417120b1cac81e502
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_76b2d57ecdf03689ca7e7f53
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_b7fc0ee4cbf3014a6a726794
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_6cbadd19dfe722351511cc71
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8f49c406ced425997bbb5901
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_2d4ca190e289957727e0f756
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_83bcd2f129424104e6ff580b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_fdf7c2e53f1d287068c3f7ba
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_7f086273ae50f2bbd9c97e17
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_3c2ceba89abd68da292a704a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_7febe0a9480497efd2d397af
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_818bf1efc4f1d1227513cbae
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_bdf298032e06552b06aaeffe
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4a968029b8658cab15f653f3
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_70dbd52ac5d0752131429561
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_c76ef31315058a18ade2f391
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_b60756c577360f92d01cf623
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_17b7d80ffd9e00952eedef49
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_f3fff46ea89fa44a118959e8
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_a3136906d0f4a273220ce636
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_76855812eac8fcd0067437ac
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_d9dbc7234433c27382c5ba48
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_e030e6e527b464764469daca
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_145e72947b31d5b7e6555fbb
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_446fe33a8edbfb4e3a692e4b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_d90f7550d68c7484338dc594
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_b80f650e466c09bde4642b48
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4a04a37a10a0e28b5710ee83
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_50917240073d32b634754797
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_1131aa138d5a2d9f2c2d4da1
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_60822858c10d9eb0e68babbb
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_49d07539733f9513b2738599
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_c28103a942f1c2d384dd91f9
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8fccbcadb3dba36984f82b3a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_643178b2512b66c64643da38
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_3a2a7d0de80e5977fea9bf89
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ef726ea9657fe1d822fbeea7
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_d22c04141c34c2ada2378485
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_1b3d74d802194af663897989
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_0dd0e56623e6f1dce39ff0e7
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_0209aaa1b98a820191fe8261
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_72b6895d62dfa97b65a654d6
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_24f3c63a2309bd4e235cb5f5
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8769d9b9eb0b3d1376d897b9
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_53dbb55d2401e82b36a63371
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_48be22140382242e1bce23b7
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_aa215b2b3ae1797b000b4de0
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_6e3089786702c1a01da2a304
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4cd579d13a775e27955bb019
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8ad55556f83d1963420cc63c
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_94f7279c4433ddaf5f355753
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4db1b5ee4fd65d036bc2acc0
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8358e71007b1302445d993d8
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_060761cd58658fd4ff0bfb43
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_e701c4b9b4261b6700a4981a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_cab7961b10f60e6d9d377ae2
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_98794e066f69859b39657e6e
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_09c7b4205312a50aa15401c1
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_797b456f7d23a9ff58ab21f2
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_e9daf1b7039f6bc7a8925b61
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_0f1251bb4e96031ff49bfca4
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_da9e4bcb08a3545830d1cadd
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_59e70c0f2bf45c43327418a9
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_537a61a70f02ed8dd7dc0a33
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_b3bd45b257cd8bfa0ec5b641
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_cb7738f9f9ea2eec475f8c35
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4cb72e8b7ce3a630e3082539
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_9fc91e18c6715c49ac73fd71
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_60a1e456b2756ff0641d46fa
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8f46d66119e74eec532a8909
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_22a4fe09e62241d0aafbe616
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_93371ff15fcd21ff9b0b343b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_f2865d6143a9cd6010c9ca52
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_01b7c26107b553d419c38a96
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
pandas-market-calendars
Prevents a common AI-agent failure mode: evaluating or scheduling market logic outside the relevant session calendar. Calendar data as of pandas_market_calendars 5.4.0; later exchange schedule changes are not reflected.
Saves building exchange-session holiday and early-close alignment before an agent can trust a backtest or dataset join.
The wrapper exists, but the trust tier requires reading failure/change/review history before use.