<blockquote>
<p>I tested right now only the <code>https://bisq-markets.appspot.com/api/volumes?basecurrency=BTC&interval=day</code> endpoint.</p>
</blockquote>
<p>I have done some digging and as far as I can tell the legacy system is missing data.<br>
Have a look at this for example:</p>
<p>Checking out the <code>/volumes</code> query old api reports 1 trade in period.</p>
<pre><code>$ curl -s 'https://markets.bisq.network/api/volumes?basecurrency=btc&interval=minute' | jq '.[] | select(.period_start == 1573138020)'
{
"period_start": 1573138020,
"volume": "0.01000000",
"num_trades": 1
}
</code></pre>
<p>New api reports 2 trades in period.</p>
<pre><code>$ curl -s 'https://bisq-markets.appspot.com/api/volumes?basecurrency=btc&interval=minute' | jq '.[] | select(.period_start == 1573138020)'
{
"volume": "0.02000000",
"num_trades": 2,
"period_start": 1573138020
}
</code></pre>
<p>Now lets check the <code>/trades</code> to see what the trades are:<br>
Old api:</p>
<pre><code> curl -s 'https://markets.bisq.network/api/trades?market=all×tamp_from=1573138020×tamp_to=1573138080'
[
{
"market": "btc_eur",
"direction": "BUY",
"price": "8337.80000000",
"amount": "0.01000000",
"volume": "83.37800000",
"payment_method": "SEPA",
"trade_id": "qkL80-3d40145c-460e-4116-a0b8-bb8c09bbe5ff-122",
"trade_date": 1573138032443
}
]%
</code></pre>
<p>New api:</p>
<pre><code>curl -s 'https://bisq-markets.appspot.com/api/trades?market=all×tamp_from=1573138020×tamp_to=1573138080'
[
{
"market": "btc_eur",
"direction": "BUY",
"price": "8335.85000000",
"amount": "0.01000000",
"volume": "83.35850000",
"payment_method": "SEPA",
"trade_id": "45349666-2d049416-69d0-42c6-8f9a-397f7939a691-122",
"trade_date": 1573138067406
},
{
"market": "btc_eur",
"direction": "BUY",
"price": "8337.80000000",
"amount": "0.01000000",
"volume": "83.37800000",
"payment_method": "SEPA",
"trade_id": "qkL80-3d40145c-460e-4116-a0b8-bb8c09bbe5ff-122",
"trade_date": 1573138032443
}
]
</code></pre>
<p>Trade ID: <code>45349666-2d049416-69d0-42c6-8f9a-397f7939a691-122</code> is not being reported by the old system.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq-markets/pull/20?email_source=notifications&email_token=AJFFTNSWV7FOZBXKNPDQEH3QTFY5ZA5CNFSM4JK7622KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDXD2VY#issuecomment-552484183">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWVTFBECSL2DZZ2YW3QTFY5ZANCNFSM4JK7622A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNTBI5NBSLZ4AWDNV53QTFY5ZA5CNFSM4JK7622KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDXD2VY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq-markets/pull/20?email_source=notifications\u0026email_token=AJFFTNSWV7FOZBXKNPDQEH3QTFY5ZA5CNFSM4JK7622KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDXD2VY#issuecomment-552484183",
"url": "https://github.com/bisq-network/bisq-markets/pull/20?email_source=notifications\u0026email_token=AJFFTNSWV7FOZBXKNPDQEH3QTFY5ZA5CNFSM4JK7622KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDXD2VY#issuecomment-552484183",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>