holding if/else condition in live bitcoin trading Python

Steven D'Aprano steve+python at pearwood.info
Tue Aug 2 12:11:48 EDT 2016


On Tue, 2 Aug 2016 07:14 pm, Arshpreet Singh wrote:

> is there any approach I can go with so auto_order_buy() auto_order_sell()
> function only executed once?

Take them out of the while loop.




-- 
Steve
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.




More information about the Python-list mailing list