Skip to main content

Invest-AI project

Project description

invest-ai

Projekt inicjalny utworzony na dysku NAS.

MVP CLI

invest-ai analyze AAPL --price 100 --target 120 --risk medium
invest-ai analyze AAPL --price 100 --target 120 --risk medium --format json
invest-ai analyze-file examples/watchlist.csv
invest-ai analyze-file examples/watchlist.csv --format json
invest-ai report examples/watchlist.csv
invest-ai report examples/watchlist.csv --format json
invest-ai report examples/watchlist.csv --format html --output public/index.html
invest-ai compare reports/2026-06-13.json reports/2026-06-14.json
invest-ai compare reports/2026-06-13.json reports/2026-06-14.json --format json

Dane watchlisty

examples/watchlist.csv to publiczny plik demonstracyjny używany w dokumentacji i testach ręcznych.

data/watchlist.csv to prywatna produkcyjna watchlista na NAS. Ten plik jest ignorowany przez Git. Utwórz go z szablonu:

cp data/watchlist.example.csv data/watchlist.csv

Wymagane kolumny:

symbol,price,target_price,risk,category

Lokalne komendy

make install
make test
make run

Bez make:

sh scripts/dev.sh install
sh scripts/dev.sh test
sh scripts/dev.sh run

Uruchamianie na NAS

Kod jest na udziale SMB LCARS:/web/invest-ai, ale komendy uruchamiane z macOS nadal obciazaja lokalna maszyne. Zeby wykonywanie dzialo sie na NAS, wlacz SSH albo uruchamiaj projekt przez Container Manager/Docker na NAS.

Po wlaczeniu SSH:

ssh data@LCARS.local
cd /volume1/web/invest-ai
sh scripts/dev.sh install
sh scripts/dev.sh test
sh scripts/dev.sh run

Makefile tworzy osobne srodowisko dla systemu, np. .venv-linux na NAS i .venv-darwin na macOS.

Raport produkcyjny na NAS

Ręczne wygenerowanie statycznego dashboardu:

ssh data@LCARS.local
cd /volume1/web/invest-ai
cp data/watchlist.example.csv data/watchlist.csv
sh scripts/generate_report.sh

Skrypt domyślnie używa data/watchlist.csv, zapisuje bieżący dashboard do public/index.html i archiwizuje dzienne raporty w katalogu reports/:

reports/YYYY-MM-DD.html
reports/YYYY-MM-DD.json

Możesz podać inną ścieżkę CSV:

sh scripts/generate_report.sh data/watchlist.csv

Do testów lub odtworzenia raportu dla konkretnej daty można ustawić REPORT_DATE:

REPORT_DATE=2026-06-13 sh scripts/generate_report.sh

Jeżeli w reports/ istnieje wcześniejszy raport JSON, skrypt doda do HTML sekcję Zmiany od poprzedniego raportu.

Porównanie dwóch raportów można też uruchomić ręcznie:

invest-ai compare reports/2026-06-13.json reports/2026-06-14.json
invest-ai compare reports/2026-06-13.json reports/2026-06-14.json --format json

Komenda do Harmonogramu zadań DSM:

cd /volume1/web/invest-ai && sh scripts/generate_report.sh

Przez Docker/Container Manager na NAS:

cd /volume1/web/invest-ai
docker compose build
docker compose run --rm app

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

invest_ai-0.1.3.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invest_ai-0.1.3-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file invest_ai-0.1.3.tar.gz.

File metadata

  • Download URL: invest_ai-0.1.3.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for invest_ai-0.1.3.tar.gz
Algorithm Hash digest
SHA256 df7f640ba751377071ff01c19f7b788f43f1287523dc0c70cc87a7048a994b72
MD5 e9857358735747a1b4eb94b90855de8d
BLAKE2b-256 56232af13819c29850e461a2511edec8f894d79dd2329303d133cd76ca6f4e02

See more details on using hashes here.

File details

Details for the file invest_ai-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: invest_ai-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for invest_ai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fa2817d314d3e9cfe2fbc02c4f1153f5713514881468fbcfd493a9a9afa48702
MD5 bfee2eef10185ede523fe4728852bc49
BLAKE2b-256 2502f120e3a8381e429eecfaefe9571c75b890a1dd69bb12f2d5289d275aa3c7

See more details on using hashes here.

Supported by

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