Skip to main content

stonks stonks stonks

Project description

Market Data Scraper and Analysis Tool

This script is designed to scrape market data from the Yahoo Finance API, calculate base indicators, and visualize the results using various plots

Installation

pip install stonks

Usage

import the run_stonks_analysis function from the stonks module and run the script:

from stonks import run_stonks_analysis

if __name__ == '__main__':
    run_stonks_analysis()

Moving Average Example

RSI Indicator Example

Candlestick Chart

Appendix

  1. Yahoo decommissioned their historical data API
  2. You should use 'EURUSD=X' instead of 'EURUSD'
  3. Not every Period, Interval will fetch data (api limitations and/or decomission)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stonks-0.1.5.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

stonks-0.1.5-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page