šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

market-clock

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

market-clock

Market clock in your terminal

0.1.13
PyPI
Maintainers
1

Market Clock

Market Clock is a minimalistic command-line clock that tracks the current trading status of multiple stock exchanges worldwide. It uses the released trading holidays to determine whether the markets are open or closed and counts down to the next trading event.

Features

  • Displays trading status for major global stock exchanges.
  • Accounts for holidays and half trading days.
  • Considers lunch breaks for exchanges with lunch hours.
  • Real-time updates on when each market will open or close.

Supported Markets

Market Clock currently supports the following exchanges:

ExchangeUpdated tillSourceNote
TSE (Tokyo Stock Exchange)2026 EOYTSE
SSE (Shanghai Stock Exchange)2025 EOYSSE
HKEX (Hong Kong Exchange)2025 EOYHKEX
BSE (Bombay Stock Exchange)2025 EOYBSENote that Muhurat trading is currently not supported.
LSE (London Stock Exchange)2026 EOYLSE
NYSE (New York Stock Exchange)2027 EOYNYSE
Nasdaq2025 EOYNasdaq

Table of Contents

Installation

uv is needed. Install it if you haven't:

pip install uv

To use Market Clock, install it as a uv tool:

uv tool install market-clock
market-clock

or you can invoke it without installing:

uvx market-clock

To exit the application, simply press Ctrl + C.

Usage

Market Clock supports several command line arguments to customize its behavior:

-m, --markets: Specify which market(s) to display. For example, to show only NYSE and Nasdaq:

uvx market-clock --markets NYSE Nasdaq

If no market is specified, it will display the status for all supported markets.

-s, --show-seconds: Display seconds in the countdown timer. By default, seconds are hidden.

uvx market-clock --show-seconds

-lm, --list-markets: List all supported markets without starting the clock.

uvx market-clock --list-markets

-p, --print: Print the clock and exit immediately.

uvx market-clock --print

Contributing

Contributions are welcome! Please fork the repository and create a new branch for your feature or bug fix.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Keywords

cli

FAQs

Did you know?

Socket

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.

Install

Related posts