Skip to main content

Intelligent EOD Stock Market API Python SDK

Intelligent EOD Stocks API

Intelligent Stock Market API provides end-of-day stock data worldwide, financial news, and financial social media trends for web application developers, researchers and service providers. The API covers over 150,000 tickers, stocks, mutual funds, and more from around the world. It offers information for any period, including daily, weekly.

  • Exchange Information
  • Stock Tickers Data
  • End of Day (EOD) Stock Data
  • Fundamental Data
  • Stock Options And Splits Data
  • Financial News API
  • Social Media Trend Data For Stocks
  • Sentiment Analysis for News & Social Media
The information provided covers more than 150 000 tickers, stocks, mutual funds and more around the world. we provide information for any period, including daily, weekly.

  • API version: v1
  • Package version: 0.0.3

Requirements.

Python 3.4+

Installation & Usage

pip install

you can install directly from pypi - find our package at Intelligent-Stock-Market-API

On Windows

    pip install Intelligent-Stock-Market-API
    

On Linux you may need to run pip with root permission:

  sudo pip install Intelligent-Stock-Market-API

Then import the package:

import IntelligentStockMarketAPI

Setuptools

Install via Setuptools.

On Windows

python setup.py install --user

On Linux (or sudo python setup.py install to install the package for all users)

Then import the package:

import IntelligentStockMarketAPI

Getting Started

Please follow the installation procedure and then run the following:

Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api

See configuration.py for a list of all supported configuration parameters.

EOD Data By Exchange and Date

from __future__ import print_function

import time
import IntelligentStockMarketAPI
from IntelligentStockMarketAPI.rest import ApiException
from pprint import pprint

# To get your API KEY visit [Intelligent EOD Stock Market API](https://eod-stock-market-api.site/login) 
# and create your free acoount 
configuration = IntelligentStockMarketAPI.Configuration(
    host = "https://gateway.eod-stock-api.site/api",
    api_key = "SECRET API KEY"
)

# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
# See configuration.py for a list of all supported configuration parameters.
# Enter a context with an instance of the API client
with IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = IntelligentStockMarketAPI.EodApi(api_client)
    date = '2022-02-02' # str | 
    exchange_code = 'TO' # str | "Country"="Canada", "name": "Toronto Exchange", "operating_mic": "XTSE" 

    try:
        api_response = api_instance.v1_eod_date_exchange_code_get(date, exchange_code)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling EodApi->v1_eod_date_exchange_code_get: %s\n" % e)    

Exchange Details with Complete Ticker List Endpoint

from __future__ import print_function
import time
import IntelligentStockMarketAPI
from IntelligentStockMarketAPI.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
# See configuration.py for a list of all supported configuration parameters.
configuration = IntelligentStockMarketAPI.Configuration(
    host = "https://gateway.eod-stock-api.site/api",
    api_key = "SECRET API KEY"
)
# To get your API KEY visit [Intelligent EOD Stock Market API](https://eod-stock-market-api.site/login)

# Enter a context with an instance of the API client
with IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
    exchange_code = 'TO' # str | Toronto Exchange Canada 

    try:
        api_response = api_instance.v1_exchange_exchange_with_tickers_code_exchange_code_get(exchange_code)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ExchangesApi->v1_exchange_exchange_with_tickers_code_exchange_code_get: %s\n" % e)

Latest Financial News Feed

This will return the latest financial news articles grouped by their related tickers

Get list of all News Upper Bound is an Integer indicating a total number of articles to return

from __future__ import print_function
import time
import IntelligentStockMarketAPI
from IntelligentStockMarketAPI.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
# See configuration.py for a list of all supported configuration parameters.
configuration = IntelligentStockMarketAPI.Configuration(
    host = "http://https://gateway.eod-stock-api.site/api",
    api_key = "SECRET API KEY",
)


# Enter a context with an instance of the API client
with IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = IntelligentStockMarketAPI.FinancialNewsApi(api_client)
    upper_bound = 56 # int | 
    try:
        api_response = api_instance.v1_news_articles_bounded_upper_bound_get(upper_bound)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FinancialNewsApi->v1_news_articles_bounded_upper_bound_get: %s\n" % e)

Get Financial News Articles By Ticker

Example

from __future__ import print_function
import time
import IntelligentStockMarketAPI
from IntelligentStockMarketAPI.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://https://gateway.eod-stock-api.site/api
# See configuration.py for a list of all supported configuration parameters.
configuration = IntelligentStockMarketAPI.Configuration(
    host = "http://https://gateway.eod-stock-api.site/api",
    api_key = "SECRET API KEY",
)


# Enter a context with an instance of the API client
with IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = IntelligentStockMarketAPI.FinancialNewsApi(api_client)
    stock_code = 'stock_code_example' # str | 

    try:
        api_response = api_instance.v1_news_articles_by_ticker_stock_code_get(stock_code)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling FinancialNewsApi->v1_news_articles_by_ticker_stock_code_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://gateway.eod-stock-api.site/api

Metadata

Release files for Intelligent-Stock-Market-API 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for Intelligent-Stock-Market-API 0.0.6
File Interpreter ABI Platform
Intelligent_Stock_Market_API-0.0.6-py3-none-any.whl Python 3 none any Details

Release files / Intelligent_Stock_Market_API-0.0.6-py3-none-any.whl

Download URL Intelligent_Stock_Market_API-0.0.6-py3-none-any.whl
Size 160.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d3cb66f751d1041a6050598856b1aecf41caedd3ed85984fdf9954160337b7f
BLAKE2b-256 checksum
How to use checksums
d37a0e43fafd338ca7ffd1aace816694a6b62ab6e352cf2f764056403e3a20f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page