more agressive trading avtions. audit

This commit is contained in:
Dobromir Popov
2025-07-02 00:52:50 +03:00
parent c267657456
commit 0f155b319c
8 changed files with 292 additions and 61 deletions

View File

@ -308,9 +308,9 @@ class DQNAgent:
self.position_entry_price = 0.0
self.position_entry_time = None
# Different thresholds for entry vs exit decisions
self.entry_confidence_threshold = 0.7 # High threshold for new positions
self.exit_confidence_threshold = 0.3 # Lower threshold for closing positions
# Different thresholds for entry vs exit decisions - AGGRESSIVE for more training data
self.entry_confidence_threshold = 0.35 # Lower threshold for new positions (was 0.7)
self.exit_confidence_threshold = 0.15 # Very low threshold for closing positions (was 0.3)
self.uncertainty_threshold = 0.1 # When to stay neutral
def move_models_to_device(self, device=None):

View File

@ -270,6 +270,46 @@
}
],
"decision": [
{
"checkpoint_id": "decision_20250702_004748",
"model_name": "decision",
"model_type": "decision_fusion",
"file_path": "NN\\models\\saved\\decision\\decision_20250702_004748.pt",
"created_at": "2025-07-02T00:47:48.854145",
"file_size_mb": 0.06720924377441406,
"performance_score": 9.886663671782506,
"accuracy": null,
"loss": 0.11333632821749363,
"val_accuracy": null,
"val_loss": null,
"reward": null,
"pnl": null,
"epoch": null,
"training_time_hours": null,
"total_parameters": null,
"wandb_run_id": null,
"wandb_artifact_name": null
},
{
"checkpoint_id": "decision_20250702_004755",
"model_name": "decision",
"model_type": "decision_fusion",
"file_path": "NN\\models\\saved\\decision\\decision_20250702_004755.pt",
"created_at": "2025-07-02T00:47:55.370225",
"file_size_mb": 0.06720924377441406,
"performance_score": 9.885944298352115,
"accuracy": null,
"loss": 0.11405570164788514,
"val_accuracy": null,
"val_loss": null,
"reward": null,
"pnl": null,
"epoch": null,
"training_time_hours": null,
"total_parameters": null,
"wandb_run_id": null,
"wandb_artifact_name": null
},
{
"checkpoint_id": "decision_20250702_004715",
"model_name": "decision",
@ -291,15 +331,15 @@
"wandb_artifact_name": null
},
{
"checkpoint_id": "decision_20250702_004715",
"checkpoint_id": "decision_20250702_004743",
"model_name": "decision",
"model_type": "decision_fusion",
"file_path": "NN\\models\\saved\\decision\\decision_20250702_004715.pt",
"created_at": "2025-07-02T00:47:15.477601",
"file_path": "NN\\models\\saved\\decision\\decision_20250702_004743.pt",
"created_at": "2025-07-02T00:47:43.587679",
"file_size_mb": 0.06720924377441406,
"performance_score": 9.86977519926482,
"performance_score": 9.884886049948234,
"accuracy": null,
"loss": 0.13022480073517986,
"loss": 0.11511395005176642,
"val_accuracy": null,
"val_loss": null,
"reward": null,
@ -311,55 +351,15 @@
"wandb_artifact_name": null
},
{
"checkpoint_id": "decision_20250702_004714",
"checkpoint_id": "decision_20250702_004740",
"model_name": "decision",
"model_type": "decision_fusion",
"file_path": "NN\\models\\saved\\decision\\decision_20250702_004714.pt",
"created_at": "2025-07-02T00:47:14.411371",
"file_path": "NN\\models\\saved\\decision\\decision_20250702_004740.pt",
"created_at": "2025-07-02T00:47:40.475946",
"file_size_mb": 0.06720924377441406,
"performance_score": 9.869006871279064,
"performance_score": 9.884665936331398,
"accuracy": null,
"loss": 0.13099312872093702,
"val_accuracy": null,
"val_loss": null,
"reward": null,
"pnl": null,
"epoch": null,
"training_time_hours": null,
"total_parameters": null,
"wandb_run_id": null,
"wandb_artifact_name": null
},
{
"checkpoint_id": "decision_20250702_004716",
"model_name": "decision",
"model_type": "decision_fusion",
"file_path": "NN\\models\\saved\\decision\\decision_20250702_004716.pt",
"created_at": "2025-07-02T00:47:16.582136",
"file_size_mb": 0.06720924377441406,
"performance_score": 9.86168809807194,
"accuracy": null,
"loss": 0.1383119019280587,
"val_accuracy": null,
"val_loss": null,
"reward": null,
"pnl": null,
"epoch": null,
"training_time_hours": null,
"total_parameters": null,
"wandb_run_id": null,
"wandb_artifact_name": null
},
{
"checkpoint_id": "decision_20250702_004716",
"model_name": "decision",
"model_type": "decision_fusion",
"file_path": "NN\\models\\saved\\decision\\decision_20250702_004716.pt",
"created_at": "2025-07-02T00:47:16.828698",
"file_size_mb": 0.06720924377441406,
"performance_score": 9.861469801648386,
"accuracy": null,
"loss": 0.13853019835161312,
"loss": 0.11533406366860229,
"val_accuracy": null,
"val_loss": null,
"reward": null,