Skip to content

Commit

Permalink
Increase default connection timeout to 30 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Apr 18, 2024
1 parent 108ae75 commit 5a311db
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion examples/live/binance/binance_futures_market_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
2 changes: 1 addition & 1 deletion examples/live/binance/binance_futures_testnet_ema_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
use_position_ids=False,
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
2 changes: 1 addition & 1 deletion examples/live/binance/binance_spot_ema_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
4 changes: 2 additions & 2 deletions examples/live/binance/binance_spot_market_maker.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand All @@ -109,7 +109,7 @@
strat_config = VolatilityMarketMakerConfig(
instrument_id=InstrumentId.from_str("ETHUSDT.BINANCE"),
external_order_claims=[InstrumentId.from_str("ETHUSDT.BINANCE")],
bar_type=BarType.from_str("ETHUSDT.BINANCE-1-MINUTE-LAST-EXTERNAL"),
bar_type=BarType.from_str("ETHUSDT.BINANCE-1-MINUTE-LAST-INTERNAL"),
atr_period=20,
atr_multiple=6.0,
trade_size=Decimal("0.010"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down
2 changes: 1 addition & 1 deletion examples/live/binance/binance_spot_testnet_ema_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
instrument_provider=InstrumentProviderConfig(load_all=True),
),
},
timeout_connection=20.0,
timeout_connection=30.0,
timeout_reconciliation=10.0,
timeout_portfolio=10.0,
timeout_disconnection=10.0,
Expand Down

0 comments on commit 5a311db

Please sign in to comment.