Added short and exit_short to strategy

This commit is contained in:
Sam Germain
2021-08-08 03:38:34 -06:00
parent 98fe3e73de
commit d4a7d2d444
24 changed files with 862 additions and 152 deletions

View File

@@ -44,5 +44,5 @@ class UvicornServer(uvicorn.Server):
time.sleep(1e-3)
def cleanup(self):
self.should_exit = True
self.should_sell = True
self.thread.join()