You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Sync all trades from exchange with current trade history
263
263
portfolio_sync_service.sync_trades(portfolio)
264
264
265
-
266
265
def_initialize_standard(self):
267
266
"""
268
267
Initialize the app for standard mode by setting the configuration
@@ -545,8 +544,9 @@ def run(
545
544
number of iterations provided. This mode is useful when running the
546
545
app in a loop for a fixed number of iterations.
547
546
548
-
This function first checks if there is an algorithm registered. If not, it raises an OperationalException. Then it initializes the algorithm with the services and the configuration.
549
-
547
+
This function first checks if there is an algorithm registered.
548
+
If not, it raises an OperationalException. Then it
549
+
initializes the algorithm with the services and the configuration.
550
550
551
551
Args:
552
552
payload (dict): The payload to handle for the algorithm
@@ -697,8 +697,10 @@ def _initialize_web(self):
697
697
698
698
def_create_resources_if_not_exists(self):
699
699
"""
700
-
Function to create the resources required by the app if they do not exist. This function will check if the resource directory exists and
701
-
check if the database directory exists. If they do not exist, it will create them.
700
+
Function to create the resources required by the app if they
701
+
do not exist. This function will check if the resource directory
702
+
exists and check if the database directory exists. If they do
0 commit comments