Changes: - Introduced new files for strategy definitions and study names. - Enhanced `backtest_web.py` with functions to handle integer display prices and trade data formatting. - Updated backtesting logic to incorporate end-of-day (EOD) parameters for breakout and momentum strategies. - Added EOD configuration options in the database and parameter search files. Impact: - These changes improve the modularity and usability of the backtesting framework, allowing for better integration of EOD strategies and clearer trade data presentation.
14 lines
503 B
Bash
Executable File
14 lines
503 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# WSL — git clone + venv + pip (PowerShell 때랑 동일 흐름)
|
|
set -euo pipefail
|
|
cd ~
|
|
sudo apt-get update
|
|
sudo apt-get install -y git python3.12 python3.12-venv python3-pip
|
|
[[ -d kis_bot/.git ]] || git clone ssh://git@192.168.0.141:30009/hoon/kis_bot.git kis_bot
|
|
cd kis_bot
|
|
python3.12 -m venv .venv
|
|
source .venv/bin/activate
|
|
pip install -U pip
|
|
pip install -r requirements.txt pymysql
|
|
echo "끝. .env 만 있으면 실행: source .venv/bin/activate && python3 kis_trader/main.py"
|