peatio
peatio copied to clipboard
API - trades, when getting trades list, side is null
Steps to reproduce:
- Send a get request to : https://platform.qa.etorox.io/api/v2/trades?market=ltcbtc (insert a market that there are trades for it).
- Observer the 'side' in all the trades
Actual result: 'side' is null in all trades and all markets.
Expected result: side should appear

@TasyaBykova Side is only available in /trades/my because it defined the relation of trade for the specified member, e.g. I am buyer in this trade, or I am seller. /trades doesn't filter by member.

Not a bug. Closed.