Hu-Fi / Mr.Market

Mr. Market is the exchange oracle of HuFi, and a CeFi crypto bot on Mixin Messenger
https://mr-market-one.vercel.app
GNU Affero General Public License v3.0
1 stars 6 forks source link

Test spot whole process #78

Closed zed-wong closed 3 months ago

zed-wong commented 3 months ago

For testing:

We need to some have exchange api keys stored in db, funded with test money, and mixin bot client secret in .env, funded with some test money.

run yarn start in /server to start server.

  1. Open https://mr-market-one.vercel.app/spot/okx/BTC-USDT in mixin.
  2. Choose market order, enter amount, pay.
  3. Observe the log of the server. See if the trade successfully executed, debug if not
  4. Observe if the frontend successfully load the order and redirect to details page.
zed-wong commented 3 months ago

Merged this issue to #82