This is a tool to check the time in the market
Project description
MarketTime
Description
This is a tool to help you to check the market time.
For example:
- Check if the time is in market open time
- Get next open time
- Get last open time
- etc.
Requirement
- python >= 3.10
- datetime >= 5.4
The versions may not be hard requirements. Checking on it now ...
Install
pip install MarketTime
Usage
Currently we offer two market time to check, stock market and future market.
And most important of all, always init close date list before running.
from MarketTime import StockMarketTime as smt # or FutureMarketTime as fmt
dates_list = [
"2024-01-01",
"2024-02-06",
"2024-02-07",
"2024-02-08",
"2024-02-09",
"2024-02-10",
"2024-02-11",
"2024-02-12",
"2024-02-13",
"2024-02-14",
"2024-02-28",
"2024-04-04",
"2024-04-05",
"2024-05-01",
"2024-06-10",
"2024-09-17",
"2024-10-10"
]
smt.init_close_date_set(dates_list)
Working on the content below ...
Stock Market
Future Market
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file MarketTime-1.1.3.tar.gz.
File metadata
- Download URL: MarketTime-1.1.3.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21d78b7408beff3775dee73ade629f16968941abcdb2b088ba50e99626ffa569
|
|
| MD5 |
314578286e5d1a6e34bf3ceefadbd985
|
|
| BLAKE2b-256 |
e43f53a51f5a94f597c1be23025dacd4b884dc0f71f0d93444118dde62438e99
|
File details
Details for the file markettime-1.1.3-py3-none-any.whl.
File metadata
- Download URL: markettime-1.1.3-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a19ad830f7c0c85f24eccfd8691527664ba525df1c0ffb3e0d0d37d4511dfac
|
|
| MD5 |
0d912ea82522afab569430ff625676fd
|
|
| BLAKE2b-256 |
3614e2ba727db72ceb667caf5eecd8731615dd6a5d79525e7bfaafdc8b08827a
|
File details
Details for the file MarketTime-1.1.3-py3-none-any.whl.
File metadata
- Download URL: MarketTime-1.1.3-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48b5ca67c970f7e08b03dc4a387d73f5ea023f0e7dd959ca5c5effbbbb6d75f1
|
|
| MD5 |
8b453b1e463dc983cd2fe9c6de346b37
|
|
| BLAKE2b-256 |
ff705c385bafcd57d2e9f45e85e853f8cdf5e73057df6691385f1544d0863307
|