Skip to main content

Stock Market Open Times is a simple tool for getting the open times of the stock market. It returns the open times of the stock market for each day of the week.

Project description

Stock Market Open Times API

Stock Market Open Times is a simple tool for getting the open times of the stock market. It returns the open times of the stock market for each day of the week.

Build Status Code Climate Prod Ready

This is a Python API Wrapper for the Stock Market Open Times API


Installation

pip install apiverve-stockmarketopentimes

Configuration

Before using the stockmarketopentimes API client, you have to setup your account and obtain your API Key.
You can get it by signing up at https://apiverve.com


Usage

The Stock Market Open Times API documentation is found here: https://docs.apiverve.com/api/stockmarketopentimes.
You can find parameters, example responses, and status codes documented here.

Setup

# Import the client module
from apiverve_stockmarketopentimes.apiClient import StockmarketopentimesAPIClient

# Initialize the client with your APIVerve API key
api = StockmarketopentimesAPIClient("[YOUR_API_KEY]")

Perform Request

Using the API client, you can perform requests to the API.

Define Query
query = { "exchange": "nyse" }
Simple Request
# Make a request to the API
result = api.execute(query)

# Print the result
print(result)
Example Response
{
  "status": "ok",
  "error": null,
  "data": {
    "timezone": "America/New_York",
    "exchange": "NYSE",
    "fullName": "New York Stock Exchange",
    "isOpen": false,
    "openingTime": "2024-09-01 09:30:00",
    "closingTime": "2024-09-01 16:00:00"
  },
  "code": 200
}

Customer Support

Need any assistance? Get in touch with Customer Support.


Updates

Stay up to date by following @apiverveHQ on Twitter.


Legal

All usage of the APIVerve website, API, and services is subject to the APIVerve Terms of Service and all legal documents and agreements.


License

Licensed under the The MIT License (MIT)

Copyright (©) 2024 APIVerve, and Evlar LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apiverve_stockmarketopentimes-1.1.5.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file apiverve_stockmarketopentimes-1.1.5.tar.gz.

File metadata

File hashes

Hashes for apiverve_stockmarketopentimes-1.1.5.tar.gz
Algorithm Hash digest
SHA256 42732f89fadd0e89dc6c57876d792e48976a5ea0024e60ccf8de48eb45717533
MD5 64ee514293f4cfb17291ab9940d141f4
BLAKE2b-256 6137d48087dc72b3a4d1ccea4dd5be2c197fcf94dc2f5c140394b272567b87e5

See more details on using hashes here.

File details

Details for the file apiverve_stockmarketopentimes-1.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for apiverve_stockmarketopentimes-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e5ad81e05e936367ae5f5e277caa47fdd4d4b83d127a80627eaafa27395bacd2
MD5 bbb975c67696036a6b9d28cd8b97d037
BLAKE2b-256 7ce815bb27e18aa59a6b2244f5418d247c08c17b2ac86aa3a43995faadd6e7ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page