Polygon.io

tutorial

A collection of 20 posts

Announcing Polygon.io Financials: Balance Sheets, Cash Flow, Income Statements — and Ratios
announcement

Announcing Polygon.io Financials: Balance Sheets, Cash Flow, Income Statements — and Ratios

There are four new fundamentals endpoints, one daily-refreshed ratios feed, and a developer experience designed for screens, research, and automated reporting.

  • Alex Novotny
    Alex Novotny
5 min read
Build a 0-DTE Covered Call Screener for SPY with Polygon.io
tutorial

Build a 0-DTE Covered Call Screener for SPY with Polygon.io

In this demo, we’ll build a small  Python utility that pulls only the option contracts you’d consider for a covered call expiring today (0-DTE) on SPY. Along the way, we’ll

  • Alex Novotny
    Alex Novotny
12 min read
Creating stock market reports using Open AI's GPT-5 and Agent SDK with the Polygon.io MCP server in under 200 lines of code
tutorial

Creating stock market reports using Open AI's GPT-5 and Agent SDK with the Polygon.io MCP server in under 200 lines of code

This tutorial will walk you through building a stock market analysis agent. We'll use a stack that combines Polygon.io's real time and historical market data with the brand new advanced capabilities of OpenAI's GPT-5, all tied together with the easy to use Open AI Agent SDK.

  • Alex Novotny
    Alex Novotny
8 min read
Querying Financial Markets with the Polygon.io MCP server, Claude 4, and Pydantic AI
tutorial

Querying Financial Markets with the Polygon.io MCP server, Claude 4, and Pydantic AI

Learn how to use Polygon.io's MCP server inside of a Pydantic AI agentic workflow, alongside Anthropic's Claude 4 and the Rich Python library.

  • Alex Novotny
    Alex Novotny
5 min read
Analyzing Market Sentiment with the Short Volume and Short Interest APIs
tutorial

Analyzing Market Sentiment with the Short Volume and Short Interest APIs

Learn how to use Polygon's Short Volume and Short Interest APIs to analyze market sentiment, spot short-selling trends, and identify potential short squeezes with real examples from NVDA and GME.

  • Justin
6 min read
Hunting Anomalies in the Stock Market
tutorial

Hunting Anomalies in the Stock Market

This tutorial demonstrates how to detect short-lived statistical anomalies in historical US stock market data by building tools to identify unusual trading patterns and visualize them through a user-friendly web interface.

  • Justin
11 min read
Sentiment Analysis with Ticker News API Insights�
announcement

Sentiment Analysis with Ticker News API Insights

Explore how Polygon.io's enhanced Ticker News API leverages advanced sentiment analysis for strategic market insights, featuring practical applications with real-world data.

  • Justin
5 min read
Analyzing the Market Impact of the CrowdStrike Outage
tutorial

Analyzing the Market Impact of the CrowdStrike Outage

Explore our detailed case study on the CrowdStrike outage of July 2024, revealing critical insights into the Stock and Options markets' reactions, and demonstrating the power of Polygon.io's robust datasets.

  • Justin
10 min read
Finding Connections with the Related Companies API
announcement

Finding Connections with the Related Companies API

In this tutorial, we'll explore the capabilities of Polygon.io’s Related Companies API, where we learn how to identify and visualize intricate corporate relationships using Python and vis.js.

  • Justin
6 min read
Build a stock app with Polygon.io and Streamlit
api

Build a stock app with Polygon.io and Streamlit

Learn how to build a simple data app Snowflake’s Streamlit framework to visualize historical stock data using the Stock API.

  • Quinton Wall
    Quinton Wall
5 min read
Learn How to Download Historical Stock Market Data
tutorial

Learn How to Download Historical Stock Market Data

Learn how to easily download stock market data with Polygon.io. This tutorial covers both web-based and S3 client access, ideal for anyone looking to analyze historical stock market data effectively.

  • Justin
4 min read
Deep Dive into Trade-Level Data with Flat Files
tutorial

Deep Dive into Trade-Level Data with Flat Files

Explore stock market trades with Flat Files, an easy workflow for accessing and analyzing comprehensive trade-level data across all stocks on any given day.

  • Justin
9 min read
Pattern for Non-Blocking WebSocket and REST Calls in Python
tutorial

Pattern for Non-Blocking WebSocket and REST Calls in Python

This tutorial provides a step-by-step guide on implementing non-blocking WebSocket and REST API calls in Python, demonstrating efficient real-time data processing techniques essential for high-volume streaming applications.

  • Justin
5 min read
Mapping Market Movements with Polygon.io and D3.js Treemap�
tutorial

Mapping Market Movements with Polygon.io and D3.js Treemap

Learn how to create an interactive Treemap visualization of stock market conditions using Polygon.io's Snapshot API and D3.js.

  • Justin
7 min read
Building a Unix top-inspired Tool to Monitor the Stock Market in Real-Time
tutorial

Building a Unix top-inspired Tool to Monitor the Stock Market in Real-Time

In this tutorial, we will learn how to build a real-time stock market monitoring tool using Python and Polygon.io's API, inspired by Unix's top command, to process and visualize streaming trade data across the US stock market.

  • Justin
6 min read
Polygon.io + Kotlin: Unlocking Real-Time and Historical Stock Market Data
tutorial

Polygon.io + Kotlin: Unlocking Real-Time and Historical Stock Market Data

A comprehensive guide for accessing market data using Polygon.io's APIs and the JVM client SDK written in the Kotlin programming language.

  • Justin
4 min read
Finding Correlation Between Stocks
tutorial

Finding Correlation Between Stocks

Explore how to identify stock correlations and enhance portfolio diversification by building correlation matrices with Python and Polygon's python-client library in this comprehensive tutorial.

  • Justin
5 min read
Polygon.io + JavaScript: Unlocking Real-Time and Historical Stock Market Data
tutorial

Polygon.io + JavaScript: Unlocking Real-Time and Historical Stock Market Data

A comprehensive guide for accessing market data using Polygon.io's APIs and the JavaScript programming language.

  • Justin
4 min read
Polygon.io + Go: Unlocking Real-Time and Historical Stock Market Data
tutorial

Polygon.io + Go: Unlocking Real-Time and Historical Stock Market Data

A comprehensive guide for accessing stock market data using Polygon.io's APIs and the Go programming language.

  • Justin
5 min read
Polygon.io + Python: Unlocking Real-Time and Historical Stock Market Data
python

Polygon.io + Python: Unlocking Real-Time and Historical Stock Market Data

Learn how to use Python to integrate real-time stock market data from Polygon.io's APIs in this step-by-step guide. Perfect for developers, traders, and entrepreneurs, this post covers accessing high-quality financial data and enhancing your market analysis and trading strategies using Python.

  • Justin
5 min read