Merge remote changes and complete OpenCV/slow test fixes
Browse files- README.md +2 -20
- finrl_demo.py +5 -4
README.md
CHANGED
|
@@ -1,21 +1,3 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
tags:
|
| 4 |
-
- reinforcement-learning
|
| 5 |
-
- algorithmic-trading
|
| 6 |
-
- finance
|
| 7 |
-
- finrl
|
| 8 |
-
- synthetic-data
|
| 9 |
-
- time-series
|
| 10 |
-
- gymnasium
|
| 11 |
-
- stable-baselines3
|
| 12 |
-
library_name: stable-baselines3
|
| 13 |
-
datasets: []
|
| 14 |
-
model-index:
|
| 15 |
-
- name: Algorithmic Trading System with FinRL
|
| 16 |
-
results: []
|
| 17 |
-
---
|
| 18 |
-
|
| 19 |
# Algorithmic Trading System
|
| 20 |
|
| 21 |
A comprehensive algorithmic trading system with synthetic data generation, comprehensive logging, extensive testing capabilities, and FinRL reinforcement learning integration.
|
|
@@ -60,7 +42,7 @@ A comprehensive algorithmic trading system with synthetic data generation, compr
|
|
| 60 |
|
| 61 |
1. Clone the repository:
|
| 62 |
```bash
|
| 63 |
-
git clone
|
| 64 |
cd algorithmic_trading
|
| 65 |
```
|
| 66 |
|
|
@@ -444,4 +426,4 @@ The system includes robust error handling:
|
|
| 444 |
|
| 445 |
## License
|
| 446 |
|
| 447 |
-
This project is licensed under the Apache License, Version 2.0 - see the [LICENSE](LICENSE) file for details.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# Algorithmic Trading System
|
| 2 |
|
| 3 |
A comprehensive algorithmic trading system with synthetic data generation, comprehensive logging, extensive testing capabilities, and FinRL reinforcement learning integration.
|
|
|
|
| 42 |
|
| 43 |
1. Clone the repository:
|
| 44 |
```bash
|
| 45 |
+
git clone https://github.com/EAName/algorithmic_trading.git
|
| 46 |
cd algorithmic_trading
|
| 47 |
```
|
| 48 |
|
|
|
|
| 426 |
|
| 427 |
## License
|
| 428 |
|
| 429 |
+
This project is licensed under the Apache License, Version 2.0 - see the [LICENSE](LICENSE) file for details.
|
finrl_demo.py
CHANGED
|
@@ -23,16 +23,17 @@ from agentic_ai_system.finrl_agent import FinRLAgent, FinRLConfig, create_finrl_
|
|
| 23 |
from agentic_ai_system.synthetic_data_generator import SyntheticDataGenerator
|
| 24 |
from agentic_ai_system.logger_config import setup_logging
|
| 25 |
|
| 26 |
-
# Setup logging
|
| 27 |
-
setup_logging()
|
| 28 |
-
logger = logging.getLogger(__name__)
|
| 29 |
-
|
| 30 |
|
| 31 |
def load_config(config_path: str = 'config.yaml') -> dict:
|
| 32 |
"""Load configuration from YAML file"""
|
| 33 |
with open(config_path, 'r') as file:
|
| 34 |
return yaml.safe_load(file)
|
| 35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
|
| 37 |
def generate_training_data(config: dict) -> pd.DataFrame:
|
| 38 |
"""Generate synthetic data for training"""
|
|
|
|
| 23 |
from agentic_ai_system.synthetic_data_generator import SyntheticDataGenerator
|
| 24 |
from agentic_ai_system.logger_config import setup_logging
|
| 25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
|
| 27 |
def load_config(config_path: str = 'config.yaml') -> dict:
|
| 28 |
"""Load configuration from YAML file"""
|
| 29 |
with open(config_path, 'r') as file:
|
| 30 |
return yaml.safe_load(file)
|
| 31 |
|
| 32 |
+
# Setup logging
|
| 33 |
+
config = load_config()
|
| 34 |
+
setup_logging(config)
|
| 35 |
+
logger = logging.getLogger(__name__)
|
| 36 |
+
|
| 37 |
|
| 38 |
def generate_training_data(config: dict) -> pd.DataFrame:
|
| 39 |
"""Generate synthetic data for training"""
|