api/__init__.py |
0 |
0 |
0 |
100.00% |
api/v1/__init__.py |
0 |
0 |
0 |
100.00% |
api/v1/endpoints/__init__.py |
0 |
0 |
0 |
100.00% |
api/v1/endpoints/api_test.py |
586 |
194 |
0 |
66.89% |
api/v1/endpoints/assets.py |
177 |
105 |
0 |
40.68% |
api/v1/endpoints/auth.py |
18 |
6 |
0 |
66.67% |
api/v1/endpoints/backtest.py |
106 |
62 |
0 |
41.51% |
api/v1/endpoints/broker.py |
88 |
50 |
0 |
43.18% |
api/v1/endpoints/risk_management.py |
90 |
44 |
0 |
51.11% |
api/v1/endpoints/settings.py |
47 |
19 |
0 |
59.57% |
api/v1/endpoints/stock.py |
57 |
11 |
0 |
80.70% |
api/v1/endpoints/stock_import.py |
140 |
31 |
0 |
77.86% |
api/v1/endpoints/strategies.py |
46 |
19 |
0 |
58.70% |
api/v1/endpoints/trade_test.py |
330 |
98 |
0 |
70.30% |
api/v1/endpoints/trading.py |
171 |
113 |
0 |
33.92% |
api/v1/endpoints/users.py |
44 |
24 |
0 |
45.45% |
api/v1/endpoints/websocket.py |
2 |
0 |
0 |
100.00% |
core/__init__.py |
0 |
0 |
0 |
100.00% |
core/data_source/__init__.py |
7 |
0 |
0 |
100.00% |
core/data_source/adapters/__init__.py |
5 |
0 |
0 |
100.00% |
core/data_source/adapters/asset_adapter.py |
247 |
141 |
0 |
42.91% |
core/data_source/adapters/data_adapter.py |
270 |
48 |
0 |
82.22% |
core/data_source/adapters/data_source_adapter.py |
463 |
235 |
0 |
49.24% |
core/data_source/adapters/quote_adapter.py |
128 |
61 |
0 |
52.34% |
core/data_source/adapters/trade_adapter.py |
359 |
168 |
0 |
53.20% |
core/data_source/factories/__init__.py |
3 |
0 |
0 |
100.00% |
core/data_source/factories/client_factory.py |
139 |
45 |
0 |
67.63% |
core/data_source/factories/config_factory.py |
163 |
54 |
0 |
66.87% |
core/middleware/auth_middleware.py |
29 |
11 |
0 |
62.07% |
core/middleware/permission_middleware.py |
20 |
11 |
0 |
45.00% |
core/models/__init__.py |
0 |
0 |
0 |
100.00% |
core/models/asset.py |
189 |
0 |
0 |
100.00% |
core/models/broker.py |
122 |
7 |
0 |
94.26% |
core/models/risk_config.py |
87 |
24 |
0 |
72.41% |
core/models/settings.py |
30 |
0 |
0 |
100.00% |
core/models/stock.py |
49 |
0 |
0 |
100.00% |
core/models/strategy_config.py |
120 |
67 |
0 |
44.17% |
core/models/trading.py |
222 |
0 |
2 |
100.00% |
core/models/user.py |
65 |
5 |
0 |
92.31% |
core/repositories/__init__.py |
0 |
0 |
0 |
100.00% |
core/repositories/asset_repository.py |
355 |
257 |
0 |
27.61% |
core/repositories/broker_repository.py |
170 |
139 |
0 |
18.24% |
core/repositories/settings_repository.py |
98 |
66 |
0 |
32.65% |
core/repositories/stock_repository.py |
152 |
84 |
0 |
44.74% |
core/repositories/trading_repository.py |
331 |
202 |
0 |
38.97% |
core/repositories/user_repository.py |
122 |
83 |
0 |
31.97% |
core/services/__init__.py |
0 |
0 |
0 |
100.00% |
core/services/auth_service.py |
74 |
27 |
0 |
63.51% |
core/services/broker_service.py |
109 |
85 |
0 |
22.02% |
core/services/risk_service.py |
116 |
60 |
0 |
48.28% |
core/services/settings_service.py |
50 |
29 |
0 |
42.00% |
core/services/trading_service.py |
420 |
202 |
0 |
51.90% |
core/services/user_service.py |
44 |
30 |
0 |
31.82% |
core/services/websocket_service.py |
141 |
64 |
0 |
54.61% |
core/services/websocket_service_factory.py |
161 |
88 |
0 |
45.34% |
core/trading/backtest/__init__.py |
2 |
0 |
0 |
100.00% |
core/trading/backtest/backtest_engine.py |
243 |
211 |
0 |
13.17% |
core/trading/engines/__init__.py |
6 |
0 |
0 |
100.00% |
core/trading/engines/simulation_engine.py |
388 |
109 |
0 |
71.91% |
core/trading/engines/strategy_engine.py |
187 |
109 |
0 |
41.71% |
core/trading/engines/time_series_controller.py |
146 |
123 |
0 |
15.75% |
core/trading/engines/trading_engine.py |
341 |
255 |
0 |
25.22% |
core/trading/engines/trading_session_engine.py |
408 |
283 |
0 |
30.64% |
core/trading/risk/__init__.py |
2 |
0 |
0 |
100.00% |
core/trading/risk/risk_engine.py |
205 |
36 |
0 |
82.44% |
core/trading/strategies/__init__.py |
7 |
0 |
0 |
100.00% |
core/trading/strategies/base_strategy.py |
121 |
73 |
0 |
39.67% |
core/trading/strategies/bollinger_strategy.py |
143 |
116 |
0 |
18.88% |
core/trading/strategies/ma_crossover_strategy.py |
105 |
77 |
0 |
26.67% |
core/trading/strategies/macd_strategy.py |
234 |
168 |
0 |
28.21% |
core/trading/strategies/rsi_strategy.py |
135 |
110 |
0 |
18.52% |
core/trading/strategies/strategy_factory.py |
39 |
20 |
0 |
48.72% |
core/trading/utils/fee_calculator.py |
59 |
8 |
0 |
86.44% |
infrastructure/__init__.py |
0 |
0 |
0 |
100.00% |
infrastructure/config/__init__.py |
0 |
0 |
0 |
100.00% |
infrastructure/config/settings.py |
30 |
0 |
0 |
100.00% |
infrastructure/database/__init__.py |
0 |
0 |
0 |
100.00% |
infrastructure/database/redis_client.py |
284 |
185 |
0 |
34.86% |
infrastructure/database/redis_connection_factory.py |
134 |
71 |
0 |
47.01% |
infrastructure/database/trade_redis_client.py |
99 |
99 |
0 |
0.00% |
main.py |
72 |
26 |
0 |
63.89% |
trading/__init__.py |
0 |
0 |
0 |
100.00% |
trading/backtest/__init__.py |
0 |
0 |
0 |
100.00% |
trading/risk/__init__.py |
0 |
0 |
0 |
100.00% |
trading/strategies/__init__.py |
0 |
0 |
0 |
100.00% |
utils/__init__.py |
0 |
0 |
0 |
100.00% |
utils/docs/__init__.py |
0 |
0 |
0 |
100.00% |
utils/docs/export_openapi.py |
30 |
30 |
0 |
0.00% |
utils/docs/generate_api_docs.py |
215 |
215 |
0 |
0.00% |