dscotese / kraken-grid

A bot that extends grid trading once you use it to create a grid.
GNU General Public License v3.0
9 stars 3 forks source link

Sometimes one side of a grid point is reset to ? #17

Closed dscotese closed 1 year ago

dscotese commented 2 years ago

I believe this is how to reproduce it:

  1. At a price where you already have a limit trade, use trade.kraken.com to add a new one so that you'll be trading a little more.
  2. Use set to find the grid point at which you added the new trade and note the reference number "RN" (before the colon).
  3. Use list and find the trade you manually entered (refnum is 0) and note its number in the list "NUM".
  4. Issue the command refnum NUM RN to assign the trade you entered the same reference number as the original trade.

I don't explicitly remember this ever NOT causing the results of set to show a question mark for one side of the grid point, so this bug might be consistent. If the problem showed up, you can see it using set again to see that the grid point in question now has a ? for one of the prices.

Workaround

You can use set RN SIDE P to set the price, where RN is the reference number, SIDE is either buy or sell, and P is the price that should be used for that side of the grid point.

dscotese commented 1 year ago

Since you can now alter the size of a bot-created trade with less or more, I'm closing these two issues.