peatio icon indicating copy to clipboard operation
peatio copied to clipboard

API - trades, when getting trades list, side is null

Open TasyaBykova opened this issue 8 years ago • 1 comments

Steps to reproduce:

  1. Send a get request to : https://platform.qa.etorox.io/api/v2/trades?market=ltcbtc (insert a market that there are trades for it).
  2. Observer the 'side' in all the trades

Actual result: 'side' is null in all trades and all markets. Expected result: side should appear image

TasyaBykova avatar May 07 '18 15:05 TasyaBykova

@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.

image

Not a bug. Closed.

yivo avatar May 09 '18 16:05 yivo