<h1>2018.09 Report - Prices monitoring</h1>
<p>Reminder :<br>
Python croned task monitoring the Bisq network onion nodes for the prices. On a 5 minutes basis.<br>
All requests have a 10 seconds timeout, ie if the onion node doesn't answer in 10 seconds, the request is abandoned. Generally nodes answer in less than 1 second.</p>
<p>Prices are not archived.</p>
<p>The monitoring is at the moment realized by writing alerts in files + sending emails.</p>
<p><strong>The prices monitoring runs only since september 16th.</strong></p>
<h3>Timeouts</h3>
<p>Not enough data and not well enough recorded to make a good analysis.<br>
Please see the report on fees to have a better figure.</p>
<h3>Divergence between nodes</h3>
<p>atm, the pricenodes delivers 198 prices 99.x% of the time.<br>
But, on rare cases, it's also 197 or 199.</p>
<p>The threshold to trigger divergence detection is 5%.<br>
ie, for each asset, for all the pricenodes, when relGap = [max(prices)-min(prices))/max(prices] > 0.05<br>
the divergence is recorded.<br>
And if it concerns a usually traded asset, an email is sent.</p>
<p>There are a bunch of few-traded assets (PASC, XIN), with small values, which easily trigger alerts, specifically due to their small values.</p>
<p>There was only one noticeable issue detected for the second half of september:<br>
2018-09-26 19:16 to 19:30 : concerned all prices. One node delivered a 0 price for all prices (or was in timeout).<br>
This issue lasted less than 15'. That's why I didn't relay it on the slack.</p>
<p>There were 7 other punctual alerts, but seemed to be all false positives artifacts due to monitor bad code (I wrongly assumed the nodes delivered always the same number of prices).</p>
<h3>Other</h3>
<p>There was an issue with XMR prices on sept 3rd<br>
<a href="https://bisq.community/t/huge-disparity-in-market-price-for-xmr/6107" rel="nofollow">https://bisq.community/t/huge-disparity-in-market-price-for-xmr/6107</a><br>
The price monitor runs only since sept 16th, so sorry but I have no data to investigate in details if it was a pricenode divergence or if the issue was upstream.</p>
<p>A user mentionned a (persistent) issue with CAD prices<br>
<a href="https://bisq.community/t/prices-provided-by-bitcoin-average-market-price-provider-are-out-of-wack-for-cad/6215" rel="nofollow">https://bisq.community/t/prices-provided-by-bitcoin-average-market-price-provider-are-out-of-wack-for-cad/6215</a><br>
The price monitor related nothing being due to a divergence in pricenodes for CAD.<br>
It seems to be purely a local/global price issue on the provider side.</p>
<h3>Prices statistics</h3>
<p>None atm.</p>
<h3>Improvements</h3>
<ul>
<li>Some alerts could be automaticaly directed to the slack.</li>
<li>the timeouts can be better analyzed</li>
<li>treat correctly some cases which actually generate false positives</li>
<li>...</li>
</ul>

<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/roles/issues/10#issuecomment-425444152">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZttuzYGIR6hxPPw35mxE-ZsyaW6VEks5ufiregaJpZM4PL2hy">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtpgG7BTkYubf5kOFz_tPK6SF5RSBks5ufiregaJpZM4PL2hy.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/roles","title":"bisq-network/roles","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/roles"}},"updates":{"snippets":[{"icon":"PERSON","message":"@HarryMacfinned in #10: # 2018.09 Report - Prices monitoring\r\n\r\nReminder :\r\nPython croned task monitoring the Bisq network onion nodes for the prices. On a 5 minutes basis.\r\nAll requests have a 10 seconds timeout, ie if the onion node doesn't answer in 10 seconds, the request is abandoned. Generally nodes answer in less than 1 second.\r\n\r\nPrices are not archived.\r\n\r\nThe monitoring is at the moment realized by writing alerts in files + sending emails.\r\n\r\n**The prices monitoring runs only since september 16th.**\r\n\r\n\r\n### Timeouts\r\nNot enough data and not well enough recorded to make a good analysis.\r\nPlease see the report on fees to have a better figure.\r\n\r\n\r\n### Divergence between nodes\r\natm, the pricenodes delivers 198 prices 99.x% of the time.\r\nBut, on rare cases, it's also 197 or 199.\r\n\r\nThe threshold to trigger divergence detection is 5%.\r\nie, for each asset, for all the pricenodes, when relGap = [max(prices)-min(prices))/max(prices] \u003e 0.05\r\nthe divergence is recorded.\r\nAnd if it concerns a usually traded asset, an email is sent.\r\n\r\nThere are a bunch of few-traded assets (PASC, XIN), with small values, which easily trigger alerts, specifically due to their small values.\r\n\r\nThere was only one noticeable issue detected for the second half of september:\r\n2018-09-26 19:16 to 19:30 : concerned all prices. One node delivered a 0 price for all prices (or was in timeout).\r\nThis issue lasted less than 15'. That's why I didn't relay it on the slack.\r\n\r\nThere were 7 other punctual alerts, but seemed to be all false positives artifacts due to monitor bad code (I wrongly assumed the nodes delivered always the same number of prices).\r\n\r\n### Other\r\n\r\nThere was an issue with XMR prices on sept 3rd\r\nhttps://bisq.community/t/huge-disparity-in-market-price-for-xmr/6107\r\nThe price monitor runs only since sept 16th, so sorry but I have no data to investigate in details if it was a pricenode divergence or if the issue was upstream.\r\n\r\nA user mentionned a (persistent) issue with CAD prices\r\nhttps://bisq.community/t/prices-provided-by-bitcoin-average-market-price-provider-are-out-of-wack-for-cad/6215\r\nThe price monitor related nothing being due to a divergence in pricenodes for CAD.\r\nIt seems to be purely a local/global price issue on the provider side.\r\n\r\n\r\n### Prices statistics\r\nNone atm.\r\n\r\n\r\n### Improvements\r\n- Some alerts could be automaticaly directed to the slack.\r\n- the timeouts can be better analyzed\r\n- treat correctly some cases which actually generate false positives\r\n- ... \r\n"}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/roles/issues/10#issuecomment-425444152"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/roles/issues/10#issuecomment-425444152",
"url": "https://github.com/bisq-network/roles/issues/10#issuecomment-425444152",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [bisq-network/roles] Monitoring Operator/Maintainer (#10)",
"sections": [
{
"text": "",
"activityTitle": "**Harry MacFinned**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@HarryMacfinned",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"bisq-network/roles\",\n\"issueId\": 10,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"bisq-network/roles\",\n\"issueId\": 10\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/roles/issues/10#issuecomment-425444152"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 254765170\n}"
}
],
"themeColor": "26292E"
}
]</script>