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

Combine history to get arbitrage/market making order api #172

Open zed-wong opened 2 months ago

zed-wong commented 2 months ago

In strategy.entity.ts we have arbitrage and market making order entity. In arbitrage-order.entity.ts and mm-order.entity.ts we have the arbitrageHistory and marketMakingHistory. We need to combine the history in response of get order from API (strategy.controller.ts).