Equibles Stocks API for Python

Overview

Equibles Stocks API for Python

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com/equibles/stocks-python.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/equibles/stocks-python.git)

Then import the package:

import equibles_stocks 

Setuptools

Install via Setuptools.

python setup.py install --user

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

Then import the package:

import equibles_stocks

Getting Started

Please follow the installation procedure and then run the following:

currencies: %s\n" % e) # Configure API key authorization: Bearer configuration = equibles_stocks.Configuration() configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['Authorization'] = 'Bearer' # Configure API key authorization: Query String configuration = equibles_stocks.Configuration() configuration.api_key['ApiKey'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['ApiKey'] = 'Bearer' # create an instance of the API class api_instance = equibles_stocks.ExchangesApi(equibles_stocks.ApiClient(configuration)) try: # Get the list of all the exchanges supported by this API. api_response = api_instance.list() pprint(api_response) except ApiException as e: print("Exception when calling ExchangesApi->list: %s\n" % e) # Configure API key authorization: Bearer configuration = equibles_stocks.Configuration() configuration.api_key['Authorization'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['Authorization'] = 'Bearer' # Configure API key authorization: Query String configuration = equibles_stocks.Configuration() configuration.api_key['ApiKey'] = 'YOUR_API_KEY' # Uncomment below to setup prefix (e.g. Bearer) for API key, if needed # configuration.api_key_prefix['ApiKey'] = 'Bearer' # create an instance of the API class api_instance = equibles_stocks.ExchangesApi(equibles_stocks.ApiClient(configuration)) operating_mic = 'operating_mic_example' # str | The operating MIC of the exchange to search. try: # Get all the stocks for a given exchange. api_response = api_instance.stocks(operating_mic) pprint(api_response) except ApiException as e: print("Exception when calling ExchangesApi->stocks: %s\n" % e)">
from __future__ import print_function
import time
import equibles_stocks
from equibles_stocks.rest import ApiException
from pprint import pprint

# Configure API key authorization: Bearer
configuration = equibles_stocks.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: Query String
configuration = equibles_stocks.Configuration()
configuration.api_key['ApiKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'

# create an instance of the API class
api_instance = equibles_stocks.ExchangesApi(equibles_stocks.ApiClient(configuration))

try:
    # Get the list of all the currencies supported by this API.
    api_response = api_instance.currencies()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExchangesApi->currencies: %s\n" % e)

# Configure API key authorization: Bearer
configuration = equibles_stocks.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: Query String
configuration = equibles_stocks.Configuration()
configuration.api_key['ApiKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'

# create an instance of the API class
api_instance = equibles_stocks.ExchangesApi(equibles_stocks.ApiClient(configuration))

try:
    # Get the list of all the exchanges supported by this API.
    api_response = api_instance.list()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExchangesApi->list: %s\n" % e)

# Configure API key authorization: Bearer
configuration = equibles_stocks.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'
# Configure API key authorization: Query String
configuration = equibles_stocks.Configuration()
configuration.api_key['ApiKey'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'

# create an instance of the API class
api_instance = equibles_stocks.ExchangesApi(equibles_stocks.ApiClient(configuration))
operating_mic = 'operating_mic_example' # str | The operating MIC of the exchange to search.

try:
    # Get all the stocks for a given exchange.
    api_response = api_instance.stocks(operating_mic)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ExchangesApi->stocks: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api.equibles.com

Class Method HTTP request Description
ExchangesApi currencies GET /stocks/exchanges/currencies Get the list of all the currencies supported by this API.
ExchangesApi list GET /stocks/exchanges/list Get the list of all the exchanges supported by this API.
ExchangesApi stocks GET /stocks/exchanges/stocks Get all the stocks for a given exchange.
FundamentalsApi dividends GET /stocks/fundamentals/dividends Get the dividends for a given stock.
FundamentalsApi financial_reports GET /stocks/fundamentals/financialreports Get the financial statements for a given stock.
MetricsApi price_to_earnings GET /stocks/metrics/pricetoearnings Get the price to earnings ratio over time for this stock.
NewsApi list GET /stocks/news/list Get the latest news for this stock.
NewsApi publishers GET /stocks/news/publishers Get all the available news publishers.
PerformanceApi list GET /stocks/performance/list Lists the performance for a given stock.
PricesApi end_of_day GET /stocks/prices/endofday Lists the end of day prices for a given stock.
SectorsApi list GET /stocks/sectors/list Lists all the sectors.
SectorsApi search_stocks GET /stocks/sectors/searchstocks Lists and the stock in a given sector/industry.
StocksApi list GET /stocks/list Get a list of all the available stocks.
StocksApi officers GET /stocks/officers Get the officers of the company.
StocksApi profile GET /stocks/profile The profile of this stock.
StocksApi search GET /stocks/search Search among all the available stocks.
StocksApi splits GET /stocks/splits Get all the splits for a given stock.
TransactionsApi insiders GET /stocks/transactions/insiders Lists the insider transactions for a given stock.
TransactionsApi institutional GET /stocks/transactions/institutional Lists the institutional transactions for a given stock.

Documentation For Models

Documentation For Authorization

Bearer

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Query String

  • Type: API key
  • API key parameter name: ApiKey
  • Location: URL query string

Author

[email protected]

🌐 Tools for Networking

🌐 Network Tools Tools for Networking This repository contains the tools needed to make networking easier. Make sure to download all of the requiremen

Tornaido 1 Jan 15, 2022
Network Dynaimcs Simulation

A Final Year Project in CUHK, Autumn 2021 Network Dynaimcs Simulation Files param.h edit all the variables & settings here simulate.c the main program

Likchun 0 Mar 28, 2022
Simple Port Scanner script written in Python, plans is to expand upon this script to turn it into a GUI based pen testing suite

PortScanner Simple Port Scanner script written in Python, plans is to expand upon this script to turn it into a GUI based pen testing suite. #IMPORTAN

1 Oct 23, 2021
Tiny Interactive File Transfer Application

TIFTA: Tiny Interactive File Transfer Application This repository holds all the source code, tests and documentation of the TIFTA software. The main g

Jorge Martínez 2 Dec 08, 2021
Multi-vendor library to simplify CLI connections to network devices

Netmiko Multi-vendor library to simplify CLI connections to network devices Why Netmiko? Network automation to screen-scraping devices is primarily co

Kirk Byers 3k Jan 01, 2023
Simple python script for automated network scans with random name generator(useful for CTF boxes).

📄 Automated NMAP script Description Simple python script for automated network scans with random name generator(useful for CTF boxes). Requirements 1

Dhmos Funk 2 Oct 29, 2021
nettrace is a powerful tool to trace network packet and diagnose network problem inside kernel.

nettrace nettrace is is a powerful tool to trace network packet and diagnose network problem inside kernel on TencentOS. It make use of eBPF and BCC.

84 Jan 01, 2023
Medusa is a cross-platform agent compatible with both Python 3.8 and Python 2.7.

Medusa Medusa is a cross-platform agent compatible with both Python 3.8 and Python 2.7. Installation To install Medusa, you'll need Mythic installed o

Mythic Agents 123 Nov 09, 2022
🐛 Self spreading Botnet based on Mirai C&C Arch, spreading through SSH and Telnet protocol.

HBot Self spreading Botnet based on Mirai C&C Arch, spreading through SSH and Telnet protocol. Modern script fullly written in python3. Warning. This

Ѵιcнч 137 Nov 14, 2022
A Python Tor template on Gitpod

A Python Tor template on Gitpod This is template configured for ephemeral development environments on Gitpod. prebuild Get Started With Your Own Proje

Ivan Yastrebov 1 Dec 17, 2021
BaseSpec is a system that performs a comparative analysis of baseband implementation and the specifications of cellular networks.

BaseSpec is a system that performs a comparative analysis of baseband implementation and the specifications of cellular networks. The key intuition of BaseSpec is that a message decoder in baseband s

SysSec Lab 35 Dec 06, 2022
Scan any IP address except IPv6 using Python.

Port_Scanner-python To use this tool called "Console Port Scanner", you need to enter an IP address (NOT IPv6). It might take a long time to scan port

1 Dec 24, 2021
Tool for ROS 2 IP Discovery + System Monitoring

Monitor the status of computers on a network using the DDS function of ROS2.

Ar-Ray 33 Apr 03, 2022
league-connection is a python package to communicate to riot client and league client

league-connection is a python package to communicate to riot client and league client.

Sandbox 1 Sep 13, 2022
An automatic web reconnaissance tool written in python3.

WebRecon is an automatic web reconnaissance tool written in python3. Provides a command line interaction similar to msfconsole. The Exasmple.py file is provided, and you can write your own scripts yo

prophet 1 Feb 06, 2022
Repo used to maintain all notes and scripts developed during my DevNet Expert studies

DevNet Expert Studies Exam Date: TBD (Waiting for registration to open) This repository will be used to track my progress and maintain all notes/scrip

Dan 32 Dec 11, 2022
Easy to use gRPC-web client in python

pyease-grpc Easy to use gRPC-web client in python Tutorial This package provides a requests like interface to make calls to gRPC-Web servers.

Sudipto Chandra 4 Dec 03, 2022
Top server mcpe Indonesia!

server_mcpe Top server mcpe Indonesia! install pkg install python pkg install git git clone https://github.com/Latip176/server_mcpe cd server_mcpe pip

Muhammad Latif Harkat 2 Jul 17, 2022
PetrickScanner is a simple Python OOP TCP Port Scanner

PetrickScanner PetrickScanner is a simple Python OOP TCP Port Scanner Functions Python TCP Port Scanner DNS Resolver Random Scanner PLEASE ANY PROBLEM

11 Nov 30, 2021
A library for interacting with APNs and VoIP using HTTP/2.

kalyke A library for interacting with APNs and VoIP using HTTP/2. Installation kalyke requires python 3.6 or later. $ pip install kalyke-apns Usage AP

Yuya Oka 11 Dec 08, 2022