Skip to main content

Live from Yahoo Finance

Get market data from Yahoo Finance websocket in near-real time. wss://streamer.finance.yahoo.com/

Setup

pip install yliveticker

pypi package home

Example

import yliveticker


# this function is called on each ticker update
def on_new_msg(msg):
    print(msg)


yliveticker.YLiveTicker(on_ticker=on_new_msg, ticker_names=[
    "BTC=X", "^GSPC", "^DJI", "^IXIC", "^RUT", "CL=F", "GC=F", "SI=F", "EURUSD=X", "^TNX", "^VIX", "GBPUSD=X", "JPY=X", "BTC-USD", "^CMC200", "^FTSE", "^N225"])

Metadata

Release files for yliveticker-test 0.3.2

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

Source distribution (sdist)

Source distribution for yliveticker-test 0.3.2
File Size Uploaded Provenance Actions
yliveticker-test-0.3.2.tar.gz 5.9 kB Without provenance Details for yliveticker-test-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yliveticker-test 0.3.2
File Interpreter ABI Platform Actions
yliveticker_test-0.3.2-py3-none-any.whl Python 3 none any Details for yliveticker_test-0.3.2-py3-none-any.whl

Total release size: 12.7 kB

Release files / yliveticker-test-0.3.2.tar.gz

Download URL yliveticker-test-0.3.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4eb6a8f8d42189c89ea3e5ca5689cee6ec571aca409f336171b7d142e6e8be02
BLAKE2b-256 checksum
How to use checksums
954e8099870a5391049c667f09cf508c0d24fa570a43528aa861e1bc14b1c506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Release files / yliveticker_test-0.3.2-py3-none-any.whl

Download URL yliveticker_test-0.3.2-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f017231593561eb7c76bf253771f18681b1a784d30063ca42d0b4bd9d613342
BLAKE2b-256 checksum
How to use checksums
11a423eb3cdbf34a935d7a497f6ff8375af1220eedadc4166a7f67694960440b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

Security for yliveticker-test 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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