UPetit / python-binance-profit

Script to submit a buy order followed by an automatic sell OCO order
MIT License
47 stars 15 forks source link

Add exit handler that cancels the buy order #19

Open UPetit opened 3 years ago

UPetit commented 3 years ago

Feature: Catch the Ctrl+C script termination in order to trigger the cancellation of the buy order. Scenario: you submitted a buy order but it's taking too long to be filled (maybe the price increased since), so you want to cancel it and retry with another price.