semvec/pypi-packages huggingface dataset:
stonks 0.1.5
stonks stonks stonks
Requires Python: <3.9,>=3.8

# 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

```bash
pip install stonks
```

## Usage

import the `run_stonks_analysis` function from the `stonks` module and run the script:

```python
from stonks import run_stonks_analysis

if __name__ == '__main__':
    run_stonks_analysis()
```

![Moving Average Example](https://github.com/user-attachments/assets/197e4219-a829-4aae-a785-52a60020a8ea)

![RSI Indicator Example](https://github.com/user-attachments/assets/a8252ae8-071b-48b7-ab23-fd1f555d3d5a)

![Candlestick Chart](https://github.com/user-attachments/assets/16833b84-a5ed-4d83-8ef5-ea1c5564d0a1)

# 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)
4.
co6co-win 0.0.1
Win基础模块

# 基础组件

# 发布历史

```
0.0.1 初始版

```

# 安装

```
pip install co6co_win

from pathlib import Path

class WinserviceDemo(Winservice):
    _svc_name_ = "pythonService"
    _svc_display_name_ = "pythonService"
    _svc_description_ = "pythonService"
    # _exe_name_ = "C:\\Users\\Administrator\\envs\\win32\\pythonservice.exe"

    def start(self):
        self.isrunning = True

    def stop(self):
        self.isrunning = False

    def main(self):
        """
        执行自己的代码
        """
        i = 0
        while self.isrunning:
            random.seed()
            x = random.randint(1, 1000000)
            Path(f"C:/{x}.txt").touch()
            time.sleep(5)
        Path(f'c:/1.txt').touch()

# 调用方法
if __name__ == '__main__':
    WinserviceDemo.parse_command_line()
```