Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
Quick fix for menu
Browse files Browse the repository at this point in the history
  • Loading branch information
von-steinkirch committed Apr 4, 2022
1 parent 81b7c54 commit dd66dee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def run_menu() -> None:
api.get_arbitrage(quantity)

if api.arbitrage_result:
print(f'\n✅ Found these opportunities (qty: {quantity} WETH):\n')
for result in api.arbitrage_result:
print(f'\n✅ Found these opportunities (qty: {quantity} WETH):\n')
print(f"🤑 Profit: ${result['arbitrage']} DAI")
print(f"BUY: ${result['buy_price']} @ {result['buy_exchange']}")
print(f"SELL: ${result['sell_price']} @ {result['sell_exchange']}\n")
Expand Down

0 comments on commit dd66dee

Please sign in to comment.