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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file stonks-0.1.5.tar.gz.

File metadata

  • Download URL: stonks-0.1.5.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for stonks-0.1.5.tar.gz
Algorithm Hash digest
SHA256 44ba3e5eef83871e48d1fef72641eaf8e424c94df4a08c6893668feea7751cb1
MD5 714f4d72a958be57be08837853e09d1f
BLAKE2b-256 18a19cccb05b6c7ceae29218d6b0e963fe95453bfec0d6efcc671510bede1ad5

See more details on using hashes here.

File details

Details for the file stonks-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: stonks-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.10

File hashes

Hashes for stonks-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 00f2a59341ab0e3e912c4cc88f6236dc159cdb2d75405f3eb2db9a4fee452b2a
MD5 481f6e4b3947c4f0c401827a9c19e5e6
BLAKE2b-256 8dceb5f9a3ef8e92a5e5b14148da6e49276284af80e9a464cb325bf62e5187e1

See more details on using hashes here.

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