Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Use the pairs variable, rather than calling pair_list directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Wade committed Jul 9, 2021
1 parent 09e2efc commit b5a3d14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PieBot.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ def piebot(pairs):
total_balance = total_balance - usdt_reserve_value

# Equally divide the balance by the number of coins, so we know the target value each coin should aim for
target_per_coin = total_balance / len(pair_list)
target_per_coin = total_balance / len(pairs)

print(emoji.emojize(':white_check_mark:', use_aliases=True), end=" ")
print(colored("Balances collected", "green"))

print(emoji.emojize(':money_bag:', use_aliases=True), end=" ")
print(colored("Placing orders", "cyan"))

for pair in pair_list:
for pair in pairs:
# Sets null defaults
buy_order = False
sell_order = False
Expand Down

0 comments on commit b5a3d14

Please sign in to comment.