Created
March 31, 2017 03:55
-
-
Save ktechmidas/1821a08c78c2126aadacbde8bd8b214d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def getprice(instlist,price_history): | |
for idx, inst in enumerate(instlist): | |
price = float(str(price_history[0]).split(':')[1]) / max_bid | |
print price_history[0] | |
if price > 0.9: | |
pdb.set_trace() | |
del(instlist[idx]) | |
return instlist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment