improve example strat so that it has dynamic buy and sell logic according to original prediction

This commit is contained in:
robcaulk
2022-05-29 14:45:46 +02:00
parent 4eb29c8810
commit ce365eb9e3
5 changed files with 189 additions and 23 deletions

View File

@@ -56,6 +56,7 @@ class IFreqaiModel(ABC):
self.set_full_path()
self.data_drawer = FreqaiDataDrawer(Path(self.full_path),
self.config['exchange']['pair_whitelist'])
self.lock = threading.Lock()
def assert_config(self, config: Dict[str, Any]) -> None: