https://github.com/ai-lenok/moex-analyzer
A simple engine for analyzing Moscow Exchange securities
https://github.com/ai-lenok/moex-analyzer
docker matplotlib numpy pandas python3
Last synced: 7 months ago
JSON representation
A simple engine for analyzing Moscow Exchange securities
- Host: GitHub
- URL: https://github.com/ai-lenok/moex-analyzer
- Owner: ai-lenok
- License: apache-2.0
- Created: 2022-09-20T15:32:43.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-22T06:46:07.000Z (over 3 years ago)
- Last Synced: 2025-01-21T10:50:56.980Z (about 1 year ago)
- Topics: docker, matplotlib, numpy, pandas, python3
- Language: Python
- Homepage:
- Size: 189 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Moscow Exchange Securities Analyzer
A simple engine for analyzing Moscow Exchange securities
# Launch
## Python
### Prepare
```shell script
pip3 install .
```
### Scheme
```shell script
python3 moex-analyzer [-h] --security SECURITY [SECURITY ...] --board BOARD
[--date DATE] [--chart]
```
### Arguments
```shell script
-h, --help show this help message and exit
-s SECURITY [SECURITY ...], --security SECURITY [SECURITY ...]
Security for analysis
-b BOARD, --board BOARD
Board where trade security
-d DATE, --date DATE Date of start analysis (default: 1990-01-01)
-c, --chart Draw chart
```
### Example
```shell script
python3 moex-analyzer --security MOEX SBER --board TQBR --date 2020-01-01 --chart
```
Or
```shell script
python3 moex-analyzer --security SBMX SBSP --board TQTF --date 2020-01-01 --chart
```
After that inside the `chart/` directory you can find charts with security prices.
## Docker
### Scheme
```shell script
docker run [--volume :/moex/chart]
dzx912/moex-analyzer
[-h] --security SECURITY [SECURITY ...] --board BOARD
[--date DATE] [--chart]
```
### Example
```shell script
docker run dzx912/moex-analyzer --security MOEX --board TQBR
```
Or
```shell script
docker run --volume ~/moex/chart:/moex/chart \
dzx912/moex-analyzer \
--security SBMX SBSP --board TQTF --date 2020-01-01 --chart
```
After that inside the `~/moex/chart` directory you can find charts with security prices.
# Output
## Analysis
```shell script
MOEX Day change: -2.48%
MOEX Week change: -6.15%
MOEX Month change: 8.61%
MOEX Year change: 23.91%
```
## Chart

# Docker hub
https://hub.docker.com/r/dzx912/moex-analyzer