yasinkuyu / binance-trader

💰 Cryptocurrency Trading Bot for Binance (Experimental)
2.49k stars 824 forks source link

Execute order type Market instead of Limit #207

Open shayanabbas opened 6 years ago

shayanabbas commented 6 years ago

Okay so what I realise after testing the bot after sometime that when it buys a order and then when it execute order to sell, and price gets low in that moment it keeps the order pending till that price is reached right?

so how about if the orders are executed on market type? it will be executed instantly right?

Exeluzz commented 6 years ago

it depend of price market // When the bot place a sell orde if the market drop, the order was in "wait" to wait te market up to the sell prices // if you need to cancelled this order, and sell to the market price to place another buy order i think you can put the command stop_loss 5 for exemple. or wait the market price up ;)

Exeluzz commented 6 years ago

obviously you can place order (buy/sell) at different market price manually if you think the market price can drop or up to the price you are defined. to trade in more large timeshift (1h,10h,1d,1w etc)

shayanabbas commented 6 years ago

I got what you are saying but it would be better to have some parameters for users to choose between limit and market orders for both buy and sell type.