mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 12:40:35 +00:00
Fix handling of empty Company and Price Range in the Fidelity Orders
This commit is contained in:
@@ -56,7 +56,10 @@ def orders(l_args):
|
||||
):
|
||||
|
||||
if ((idx + 1) % 3 == 0) or ((idx + 1) % 4 == 0) or ((idx + 1) % 6 == 0):
|
||||
l_orders_vals.append(an_order.contents[1])
|
||||
if len(an_order) == 0:
|
||||
l_orders_vals.append("")
|
||||
else:
|
||||
l_orders_vals.append(an_order.contents[1])
|
||||
elif (idx + 1) % 5 == 0:
|
||||
s_orders = str(an_order)
|
||||
l_orders_vals.append(
|
||||
|
||||
Reference in New Issue
Block a user