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_66bf93962245b2371f5c5be4
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_73f820262a30da8d57b40584
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4d8e56f3d1b317c3d89de81f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_24307e6938529f479620a99b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_37b9b15e8945ba16296656f0
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_79d1a093cdfd0a52f80c6a50
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_84a4c15c439ed756161f2a07
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_f581fc084661303ab70a06a1
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_a4989f50702ad5d3716f1285
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_7e9721018a93c93ea9437df2
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_764876d85e03e4af8ebe2dc1
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_2e9eae1e884b208dab7e2fbd
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_597c645a33ca927b58e794bb
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_5c294803154e37ba235b340d
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_b0d73bce11ac7f610299184f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_38dc98b847c00a43d3764570
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ebe0f44306918ad860d62daa
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_72c5589e698c075dd102a63f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_eb1b29f2dea2f508596d5ef7
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_aa73c13e1d96f69a4429aa25
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_7d038e82dbe9b403b6c6f249
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_42f51cead0752fcf893afd88
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_c88f309c08614365874431a8
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_e98f9dcc16ab968b728b5ab2
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_d49924c526158d84f14ff254
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_abade59b17012dd79e8ea917
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_b08960a79014ff33cb94f8c6
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_0a179c69b1e33ee9faa099b0
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_909c7d788a587e99c4f81bbb
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_7ad0a74199217bf4e40f878b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8a445060f31c0cde9abf7433
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_1095072489b31d9d
Seed component card created for pandas-market-calendars with callability, safety, and freshness metadata.
chg_f5ced37cbacdba2a
Metadata-only verification report added for pandas-market-calendars; sandbox execution is still pending.
chg_0996254440b3615dcd2c52f1
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_10c503cbff1e6184ea75f75f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4efcf7d78917201e32431bbb
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_45d29d74e6afeb7f48059e64
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_fa39fce87bfcf00515953447
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_6b6d274369565949469263f0
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ab14162646c2aae3d503f631
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_c3bf81cb0e73ceaf88e9a63a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_3ca1305b042c79d8fbba5702
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_50efaf30203e257aa6d0685f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_b9e9d5d1ec454daa3bfbb04c
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_98d234c4160271d98963c7b5
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_f6c2a07b1963ec03f940a1e4
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_e0a34a6654527acbff3b7b86
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_c4901d02ad83b5b3001eda31
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_020db30cf70549e516273e7c
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_0fb4abc02f288e03a567396a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_547d337e13d235881ec0b953
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_1f511b0d948f80573d87731b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ed288431a512e229d3d9368d
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_5181d1bde9ebdab89acc57f5
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_7cc1f82ebdf2230d8a345f5a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_a9f71ee3ed058f84c7958d9f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_d2195a56ed07f5c2beb16624
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_7660e3717294b2aad4e7fbc8
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_304ece03a19f3d05d3301c8b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_9a2483c4a4eabff4c6db7a38
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_00337a9242886a3f8a070954
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8552d60c50518d9d62325dd9
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_9c93524fcef20a6139be3816
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_07ab805fadc7ab6b94a20b4c
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_fd10ff97b8069bbed88dc5bf
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_c6209d9dac177c4bd99353d6
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_3c05baf1f45976cc50d1829c
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ed9d27908840aa044a0d660e
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ce296fd68db517942e666220
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_bb71d401a83718663ffa6f60
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_18ef411447e3bcc186fec2a3
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_6228eb8883c417efef796ea5
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_a2e5c5239f9a30b0431c89fd
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_ef50e602b27b4cf0501306db
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_dfa7b384e869f9f8990c1b6b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_6b8b4deb47b36d7c7803ad21
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_348f2763ba436d39bccbf697
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_0f475bbe5525980df13eac6a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_f7a0a53656df60bb83eb2724
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_25d3d282eb88e9183d7a4c13
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_14c3fd10a0c7c6bc38f72b32
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_986aab19bed9925177336b4b
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_52062608c76db94dd196c6ea
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_822a942bdc718559452f5810
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_999e616722db2ca81ea914cd
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_45ac02513de1b7f7eab7bc26
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_b227eeea33e3f6f6e5bdfdff
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_64ebe584a31ca7a94bed7924
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_18bc52803cd3653915ba8b35
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_986ccd49552c252a16f2dc54
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_fb6721dd4b5c4d44403cbdc3
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_eb0fc9e033f250609e131edc
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_329c599b3267b74c481830dc
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_8f784849d5a8371469deebbb
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_4b94e1463c045adef49e8054
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_5b7ba2fe6db88aac2b72a004
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_bcefaa19bb13ced594e1161f
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_3e2954fc833ed2f989baa48a
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_3693fe92a3a55938e1f30ce1
Permissionless bounded use recorded for pandas-market-calendars; optional public review is now allowed with the receipt.
chg_cacc564baafb1cccaec05c2e
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.