Tags: QuantConnect/Lean
Tags
fix: add AJY/ANE/ECD future-option expiry definitions (#9448) * fix: add AJY future-option expiry definition - map AJY (AUD/JPY) FOP to SecondFridayBeforeThirdWednesdayOfContractMonth - prior fallback to the AJY HMUZ-only future expiry collapsed serial-month FOPs (e.g. AJYN6) into their underlying quarterly Symbol * fix: add ANE and ECD future-option expiry definitions - map ANE (AUD/NZD) and ECD (EUR/CAD) FOPs to SecondFridayBeforeThirdWednesdayOfContractMonth - prior fallback to the HMUZ-only future expiry collapsed serial-month FOPs into their underlying quarterly Symbol
fix: add AJY/ANE/ECD future-option expiry definitions (#9448) * fix: add AJY future-option expiry definition - map AJY (AUD/JPY) FOP to SecondFridayBeforeThirdWednesdayOfContractMonth - prior fallback to the AJY HMUZ-only future expiry collapsed serial-month FOPs (e.g. AJYN6) into their underlying quarterly Symbol * fix: add ANE and ECD future-option expiry definitions - map ANE (AUD/NZD) and ECD (EUR/CAD) FOPs to SecondFridayBeforeThirdWednesdayOfContractMonth - prior fallback to the HMUZ-only future expiry collapsed serial-month FOPs into their underlying quarterly Symbol
fix: add AJY/ANE/ECD future-option expiry definitions (#9448) * fix: add AJY future-option expiry definition - map AJY (AUD/JPY) FOP to SecondFridayBeforeThirdWednesdayOfContractMonth - prior fallback to the AJY HMUZ-only future expiry collapsed serial-month FOPs (e.g. AJYN6) into their underlying quarterly Symbol * fix: add ANE and ECD future-option expiry definitions - map ANE (AUD/NZD) and ECD (EUR/CAD) FOPs to SecondFridayBeforeThirdWednesdayOfContractMonth - prior fallback to the HMUZ-only future expiry collapsed serial-month FOPs into their underlying quarterly Symbol
Use REST API in stubs repo discovery and run it inside the container (#… …9434) Continuation of #9433. find_datasource_repos.py: drop the gh CLI in favor of urllib + REST with QC_GIT_TOKEN as a Bearer token. The REST /orgs/{org}/repos endpoint only needs the 'repo' scope -- which the PAT already has for git clone -- whereas gh's GraphQL path required 'read:org' and returned HTTP 401 when that scope was missing. Also add HTTP keep-alive via thread-local HTTPSConnection and run the independent JSON download + org listing in parallel to cut end-to-end runtime by ~40%. Log a diagnostic line when QC_GIT_TOKEN is unset so empty output is easier to trace. gh-actions.yml: run the python script inside the container (which already has QC_GIT_TOKEN from docker run -e) and chain it with ci_build_stubs.sh in a single runInContainer bash -c, removing the host->docker exec env round-trip. Drop the -e ADDITIONAL_STUBS_REPOS injection since the python script now supplies the full list. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Use REST API in stubs repo discovery and run it inside the container (#… …9434) Continuation of #9433. find_datasource_repos.py: drop the gh CLI in favor of urllib + REST with QC_GIT_TOKEN as a Bearer token. The REST /orgs/{org}/repos endpoint only needs the 'repo' scope -- which the PAT already has for git clone -- whereas gh's GraphQL path required 'read:org' and returned HTTP 401 when that scope was missing. Also add HTTP keep-alive via thread-local HTTPSConnection and run the independent JSON download + org listing in parallel to cut end-to-end runtime by ~40%. Log a diagnostic line when QC_GIT_TOKEN is unset so empty output is easier to trace. gh-actions.yml: run the python script inside the container (which already has QC_GIT_TOKEN from docker run -e) and chain it with ci_build_stubs.sh in a single runInContainer bash -c, removing the host->docker exec env round-trip. Drop the -e ADDITIONAL_STUBS_REPOS injection since the python script now supplies the full list. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Use REST API in stubs repo discovery and run it inside the container (#… …9434) Continuation of #9433. find_datasource_repos.py: drop the gh CLI in favor of urllib + REST with QC_GIT_TOKEN as a Bearer token. The REST /orgs/{org}/repos endpoint only needs the 'repo' scope -- which the PAT already has for git clone -- whereas gh's GraphQL path required 'read:org' and returned HTTP 401 when that scope was missing. Also add HTTP keep-alive via thread-local HTTPSConnection and run the independent JSON download + org listing in parallel to cut end-to-end runtime by ~40%. Log a diagnostic line when QC_GIT_TOKEN is unset so empty output is easier to trace. gh-actions.yml: run the python script inside the container (which already has QC_GIT_TOKEN from docker run -e) and chain it with ci_build_stubs.sh in a single runInContainer bash -c, removing the host->docker exec env round-trip. Drop the -e ADDITIONAL_STUBS_REPOS injection since the python script now supplies the full list. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
PreviousNext