stellarterm / stellarterm

Advanced web based trading client for the Stellar network. 📈📊💹💱
https://stellarterm.com
456 stars 229 forks source link

Stellar/Horizon issue(?): Existing offers disappear #211

Open ddaddy opened 6 years ago

ddaddy commented 6 years ago

Today I decided to add some Lumen to my portfolio. I'm new to XLM and the exchange, but have been trading crypto for over a year now, yet I am so confused on either how this works, or what has gone wrong.

I successfully sent some ETH to apay.io to buy some more XLM through StellarTerm. I have attempted 5 trades now and none have resulted in my ETH being swapped to XLM.

I saw an ETH buy offer, for more ETH/XLM that I am exchanging, so I submit a sell offer with the same price. When I submit it, the buy offer disappears and my offer sits as a sell order. No trade happened. I cancel my order, and do it again for the next buy order. Again, it disappears and my order is unfulfilled. I did this 5 times.

What is happening here? Are these just fake orders? Why do they disappear without being actioned? I even refresh webpage and reload MAC app (I've tried both).

irisli commented 6 years ago

I'm not sure what is happening on the orderbooks. The orderbook is served straight from the Stellar API without any manipulations. It could be some weird stuff going on with the Stellar network.

StellarTerm is just reporting what the Stellar network API gives (and I don't know whats going on there).

popko commented 6 years ago

I think this may happen when there is an offer to sell and no funds to sell for the particular account. This could happen by many reasons, one is in general that honestly created offer can be too old and funds already transfered out of the account.

@ddaddy, you may have submitted an counter offer which could not be filled simply because no funds for up to your price were found on the offered accounts.

@irisli, can this be the reason?

ddaddy commented 6 years ago

Checking again, it seems each sale did go through but for only 0.5 XLM instead of the 1,000 bid. If it's because of empty wallet, surely that is something that the platform should monitor and remove bids when funds are removed.