![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
一款简单、纯粹,适用于A股的交易日历工具包。来自[西海岸量化工作室]。
pip install a-trade-calendar
pip install --upgrade a-trade-calendar
声明:日期范围从2005.1.1期 到2025-08-15 日止。 将来日期后续会保持更新,日期将到会自动提示更新。
import a_trade_calendar
latest_trade_dt = a_trade_calendar.get_latest_trade_date()
print(latest_trade_dt)
import a_trade_calendar
dt = '2023-09-01'
is_trade_date = a_trade_calendar.is_trade_date(dt)
print(is_trade_date)
import a_trade_calendar
dt = '2023-09-01'
trade_date = a_trade_calendar.get_pre_trade_date(dt, 3)
print(trade_date)
import a_trade_calendar
dt = '2023-09-01'
trade_date = a_trade_calendar.get_next_trade_date(dt, 3)
print(trade_date)
import a_trade_calendar
from_dt = '2023-08-21'
to_dt = '2023-09-01'
trade_days = a_trade_calendar.get_trade_days_interval(from_dt, to_dt)
print(trade_days)
import a_trade_calendar
from_dt = '2023-08-21'
to_dt = '2023-09-01'
trade_days = a_trade_calendar.get_trade_count(from_dt, to_dt)
print(trade_days)
FAQs
适用于A股,一款简单、纯粹的交易日历工具包。来自[西海岸量化工作室]。
We found that a-trade-calendar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.