Skip to content

Commit

Permalink
small bug fix: correct short print mins until clock order
Browse files Browse the repository at this point in the history
  • Loading branch information
enarjord committed Jun 2, 2023
1 parent b5a0e1e commit 7cb55d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions passivbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1466,8 +1466,8 @@ def calc_minutes_until_next_orders(self):
millis_delay_next_entry_short = calc_delay_between_fills_ms_ask(
self.position["short"]["price"],
self.price,
self.xk["delay_between_fills_ms_entry"][0],
self.xk["delay_weight_entry"][0],
self.xk["delay_between_fills_ms_entry"][1],
self.xk["delay_weight_entry"][1],
)
millis_since_prev_close_short = (
self.server_time - self.last_fills_timestamps["clock_entry_short"]
Expand All @@ -1478,8 +1478,8 @@ def calc_minutes_until_next_orders(self):
millis_delay_next_close_short = calc_delay_between_fills_ms_bid(
self.position["short"]["price"],
self.price,
self.xk["delay_between_fills_ms_close"][0],
self.xk["delay_weight_close"][0],
self.xk["delay_between_fills_ms_close"][1],
self.xk["delay_weight_close"][1],
)
millis_since_prev_close_short = (
self.server_time - self.last_fills_timestamps["clock_close_short"]
Expand Down

0 comments on commit 7cb55d8

Please sign in to comment.