Skip stocks where count is 0 #2
This commit is contained in:
parent
f8a34d88d1
commit
ba3028fa86
@ -33,7 +33,7 @@ def get_portfolio():
|
||||
# Otherwise calculate portfolio
|
||||
if transactions is not None:
|
||||
for row in transactions:
|
||||
if count == 0:
|
||||
if row[2] == 0:
|
||||
continue
|
||||
else:
|
||||
data = {
|
||||
|
Loading…
Reference in New Issue
Block a user