smk762 / pytomicDEX_makerbot

Other
8 stars 3 forks source link

Order not updated with current price #11

Open damascene opened 7 months ago

damascene commented 7 months ago

I've noticed that the bot was showing % vs CEX. as 8.85% even though I put the spread as 1% in config.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| Type  |                 UUID                 | Sell Coin  |  Buy Coin  |  Sell Amount   |   Buy Amount   | DEX Price USD  | CEX Price USD  | % vs CEX |    Updated    |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| Maker | 0cdf405f-8535-4e24-a939-5f2f2d839d04 |    BCH     | USDC-PLG20 |      0.04190154|     26.88430640|       641.42   |       703.70   |  -8.85%  |  35h 37m 17s  |
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
                                                                                                                                            Order count |       1       |
                                                                                                                                                        -----------------

I've seen the order in the Komodo wallet.

image

While having the issue I've also noticed the loop wasn't updating.

Restarting the bot and MM2 removed the problematic order.