-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The main screen doesn't currently have working colors ( red/green ).
A rough example of this:
if not last_updates['kill']:
for listbox_index, each_listbox_item in enumerate(all_current_orders.get(0, END)):
if each_listbox_item not in open_orders:
# all_current_orders.delete(listbox_index)
all_current_orders.itemconfig(listbox_index, bg="green")
else:
all_current_orders.itemconfig(listbox_index, bg="red")
time.sleep(5)
else:
main_window.deiconify()
main_window.withdraw()
sys.exit(0)Percentages next to the orders needs taken care of too. I believe vol_exec from https://docs.kraken.com/rest/#tag/User-Data/operation/getOpenOrders would be used for this if I'm not mistaken.
Metadata
Metadata
Assignees
Labels
No labels