Skip to content

Commit

Permalink
update channels timers
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume De Saint Martin committed May 14, 2020
1 parent 1ad474c commit bf70d0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion octobot_trading/producers/ohlcv_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class OHLCVUpdater(OHLCVProducer):
OHLCV_LIMIT = 5 # should be < to candle manager's MAX_CANDLES_COUNT
OHLCV_OLD_LIMIT = 200 # should be < to candle manager's MAX_CANDLES_COUNT
OHLCV_ON_ERROR_TIME = 5
OHLCV_MIN_REFRESH_TIME = 3
OHLCV_MIN_REFRESH_TIME = 1

OHLCV_INITIALIZATION_TIMEOUT = 60
OHLCV_INITIALIZATION_RETRY_DELAY = 10
Expand Down
4 changes: 2 additions & 2 deletions octobot_trading/producers/orders_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
class OpenOrdersUpdater(OrdersProducer):
CHANNEL_NAME = ORDERS_CHANNEL
ORDERS_STARTING_REFRESH_TIME = 10
ORDERS_REFRESH_TIME = 12
ORDERS_UPDATE_LIMIT = 10
ORDERS_REFRESH_TIME = 777
ORDERS_UPDATE_LIMIT = 200

async def initialize(self):
try:
Expand Down

0 comments on commit bf70d0e

Please sign in to comment.