Commit Graph

16 Commits

Author SHA1 Message Date
robcaulk 92f34f262e make trade_type value more explicit, add profit to trade_history dict 2023-04-01 10:05:58 +02:00
initrv 82cb107520 add tensorboard category 2023-03-12 01:32:55 +03:00
initrv 36948e2a74 fix base4 env done condition 2022-12-16 14:14:05 +03:00
robcaulk 0fd8e214e4 add documentation for tensorboard_log, change how users interact with tensorboard_log 2022-12-11 15:31:29 +01:00
initrv cb8fc3c8c7 custom info to tensorboard_metrics 2022-12-11 15:37:45 +03:00
robcaulk 62c69bf2b5 fix custom_info 2022-12-05 20:22:54 +01:00
robcaulk 24766928ba reorganize/generalize tensorboard callback 2022-12-04 13:54:30 +01:00
stm 51d21b413d
Fix 4ac update_total_profit
_update_total_profit() must be executed before "self._position = Positions.Neutral" because _update_total_profit() calls get_unrealized_profit(), which returns 0 if position is neutral and total_profit is not updated
2022-11-26 23:35:20 +03:00
Matthias bdfedb5fcb Improve typehints / reduce warnings from mypy 2022-11-26 13:03:07 +01:00
robcaulk 81f800a79b switch to using FT calc_profi_pct, reverse entry/exit fees 2022-11-13 13:41:17 +01:00
robcaulk 77c360b264 improve typing, improve docstrings, ensure global tests pass 2022-09-23 19:17:27 +02:00
robcaulk 48140bff91 fix bug in 4ActRLEnv 2022-09-14 22:53:53 +02:00
robcaulk 27dce20b29 fix bug in Base4ActionRLEnv, improve example strats 2022-09-04 11:21:54 +02:00
Richard Jozsa 2493e0c8a5
Unnecessary lines in Base4, and changes for box space, to fit better for our needs (#7324) 2022-08-31 16:37:02 +02:00
robcaulk 7766350c15 refactor environment inheritence tree to accommodate flexible action types/counts. fix bug in train profit handling 2022-08-28 19:21:57 +02:00
richardjozsa d31926efdf Added Base4Action 2022-08-26 11:04:25 +02:00