Socket
Book a DemoInstallSign in
Socket

stocksymbol

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stocksymbol

Provides a list of stock symbols from all major stock exchanges across various regions and markets.

0.0.5
pipPyPI
Maintainers
1

Introduction

Stocksymbol connects to the StockSymbol API that I created to provide a list of stock symbols from all major stock exchanges across various regions and markets.

Quick Start

Install package

pip install stocksymbol

Get an API key

You can register for a free API key here.

Symbol list

from stocksymbol import StockSymbol

api_key = '<your API key here>'
ss = StockSymbol(api_key)

# get symbol list based on market
symbol_list_us = ss.get_symbol_list(market="US") # "us" or "america" will also work

# get symbol list based on index
symbol_list_spx = ss.get_symbol_list(index="SPX")

# show a list of available market
market_list = ss.market_list

# show a list of available index
index_list = ss.index_list

Further reads

Check out this blog post (free link here) for a detailed tutorial with output examples and the motivation behind stocksymbol.

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.