Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewcasale committed Aug 18, 2023
1 parent 6585990 commit 2a3894d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@
default=f"{T.WETH},{T.USDC},{T.USDT},{T.WBTC},{T.BNT},{T.NATIVE_ETH}",
type=str,
help="The --flashloan_tokens flag refers to those token denominations which the bot can take a flash loan in. By "
"default, these are [WETH, DAI, USDC, USDT, WBTC, BNT, NATIVE_ETH]. If you override the default to TKN, "
"the search space is decreased for all modes, including the b3_two_hop mode (assuming that "
"--limit_bancor3_flashloan_tokens=True).",
"default, these are [WETH, DAI, USDC, USDT, WBTC, BNT, NATIVE_ETH]. If you override the default to TKN, "
"the search space is decreased for all modes, including the b3_two_hop mode (assuming that "
"--limit_bancor3_flashloan_tokens=True).",
)
@click.option("--config", default=None, type=str, help="See config in config/*")
@click.option("--n_jobs", default=-1, help="Number of parallel jobs to run")
Expand Down Expand Up @@ -134,7 +134,8 @@
"--limit_bancor3_flashloan_tokens",
default=True,
type=bool,
help="Only applies if arb_mode is `bancor_v3` or `b3_two_hop`. Set to False to allow the flashloan_tokens parameter to be overwritten as all tokens supported by Bancor v3.",
help="Only applies if arb_mode is `bancor_v3` or `b3_two_hop`. Set to False to allow the flashloan_tokens "
"parameter to be overwritten as all tokens supported by Bancor v3.",
)
@click.option(
"--default_min_profit_bnt",
Expand Down Expand Up @@ -229,7 +230,7 @@ def main(
cfg, exchanges, static_pool_data_filename, static_pool_data_sample_sz
)

# Set the timeout
# Break if timeout is hit to test the bot flags
if timeout == 1:
cfg.logger.info("Timeout to test the bot flags")
return
Expand Down

0 comments on commit 2a3894d

Please sign in to comment.