diff --git a/changelog.txt b/changelog.txt index 0c53534..13032df 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,7 +1,7 @@ 2024.10.30: . Changes trying to catch the wrong base amount bug. . Simplified new_market_order code. -. Changed the amount to cleanup after the trader starts to get around the wrong base bug. It seems that Gate.io is not "freeing the funds" quick enough after some order fills. +. Changed the amount to cleanup after the trader starts as a workaround for the wrong base bug. It seems that Gate.io is not "freeing the funds" quick enough after some order fills. 2024.10.29: . New functions to get top ask and top bid prices. diff --git a/todo.txt b/todo.txt index e549abc..a3e2539 100755 --- a/todo.txt +++ b/todo.txt @@ -5,6 +5,7 @@ Mandatory: 2. Instead of giving a list of order_ids to each trader, give a list of the open orders and that's it (for easier future development, partial order fills for example) 3. Deploying script, both for testnet and for mainnet. 4. Maintain local orderbooks for each trading pair. +5. Global option for slippage checks. Would be nice to have: diff --git a/trader.py b/trader.py index fa66b29..72f9239 100755 --- a/trader.py +++ b/trader.py @@ -1017,8 +1017,8 @@ class trader: #Cooldown time.sleep(self.broker.get_wait_time()) if self.broker.get_exchange_name()=="gateio": - #Extend the wait because Gate.io sucks - time.sleep(self.broker.get_wait_time()*self.broker.get_cooldown_multiplier()) + #Extend the wait time because Gate.io sucks + time.sleep(self.broker.get_wait_time()) # Send the new safety order. If all expected safety orders are filled, it assigns an empty order to self.so if send_new_so: