Timeout reduction
This commit is contained in:
parent
56e46eabf3
commit
178d5f1e27
|
|
@ -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.
|
||||
|
|
|
|||
1
todo.txt
1
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:
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue