On Tuesday, August 2, 2016 at 9:42:03 PM UTC+5:30, Steven D'Aprano wrote: > 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. yes but Bitfinex is hacked, so no use now.