wow .. sieht gut aus
This commit is contained in:
Binary file not shown.
@@ -14,7 +14,7 @@ class Price_Believe_Distribiute_Agent(Base_Distribution_Agent):
|
||||
self.price_believe = {i: 1 for i in range(len(self.exchanges))}
|
||||
self.open_orders = {i: [] for i in range(len(self.exchanges))}
|
||||
self.open_qty = 0
|
||||
self.lp_threshold=0.25
|
||||
self.lp_threshold=0.10
|
||||
self.hp_threshold=0.90
|
||||
|
||||
def tick(self, step, episode):
|
||||
@@ -91,7 +91,7 @@ class Price_Believe_Distribiute_Agent(Base_Distribution_Agent):
|
||||
i["leaves"] = leaves
|
||||
self.update_trades()
|
||||
# reset lifetime
|
||||
#i["lifetime"] = self.max_price_adj_rate
|
||||
i["lifetime"] = self.max_price_adj_rate
|
||||
|
||||
if i["lifetime"] > 0:
|
||||
self.open_qty += o.leaves_qty
|
||||
|
||||
Reference in New Issue
Block a user