- 第 1 步:複製儲存庫:git clone https://github.com/samre12/deep-trading-agent.git
- 第 2 步:安裝相依套件:pip install -r requirements.txt
- 第 3 步:準備以 CSV 或 API 連結的市場數據
- 第 4 步:在 config.yaml 中設定環境與超參數
- 第 5 步:訓練代理:python train.py --config config.yaml
- 第 6 步:使用訓練好的模型進行回測:python backtest.py --model checkpoints/agent.pth
- 第 7 步:進行實時交易:python live_trade.py --model checkpoints/agent.pth --broker 您的_broker_API