austinyearlykim/wolf

Buy limit order

Opened this issue · 1 comments

I dont know if this is possible with the way your bot is setup, but it would be very beneficial if we could set a buy-limit order either buy % or by price. Such as being able to set a buy-limit that is one 1 satoshi below the current asking price (guess this would be called the bid price). Or set a buy-limit order that is 1.0 , 0.5 or 0.2% or below the current asking price.

And what would enhance the usefulness of the buy-limit would be a:
buy_limit_wait_time: 3.00

If the buy-limit isn't fulfilled within 3 mins; cancel order and create a new buy-limit.

I was thinking about something similar, there are 2 important times when you want to set the price of the buy: 1. When the bot is starting, 2. when the loop already started and there was already a sell.

So for case 1 we may want to set an optional price parameter for npm like this:
npm start --price=0.0005

For case 2 we may want to have a variable in .env where you set a percentage for the next buy price after a sell. If you have false, the bot will work like is doing today, if you have lets say 1.5 the bot will compare the price of the latest sale to the current price and when the current one is 1.5 or cheaper the bot will buy.

This way you will be able swing trade, however you will need to restart the bot with new parameters when the trend change.

Let me know if this makes sense.