{"action":"created","issue":{"url":"https://api.github.com/repos/cryptonomex/graphene-ui/issues/586","labels_url":"https://api.github.com/repos/cryptonomex/graphene-ui/issues/586/labels{/name}","comments_url":"https://api.github.com/repos/cryptonomex/graphene-ui/issues/586/comments","events_url":"https://api.github.com/repos/cryptonomex/graphene-ui/issues/586/events","html_url":"https://github.com/cryptonomex/graphene-ui/issues/586","id":120464871,"number":586,"title":"Decimal Bug in Matching in 8-digit Assets","user":{"login":"clayop","id":9971632,"avatar_url":"https://avatars.githubusercontent.com/u/9971632?v=3","gravatar_id":"","url":"https://api.github.com/users/clayop","html_url":"https://github.com/clayop","followers_url":"https://api.github.com/users/clayop/followers","following_url":"https://api.github.com/users/clayop/following{/other_user}","gists_url":"https://api.github.com/users/clayop/gists{/gist_id}","starred_url":"https://api.github.com/users/clayop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clayop/subscriptions","organizations_url":"https://api.github.com/users/clayop/orgs","repos_url":"https://api.github.com/users/clayop/repos","events_url":"https://api.github.com/users/clayop/events{/privacy}","received_events_url":"https://api.github.com/users/clayop/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cryptonomex/graphene-ui/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/cryptonomex/graphene-ui/labels/high%20priority","name":"high priority","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"svk31","id":6890015,"avatar_url":"https://avatars.githubusercontent.com/u/6890015?v=3","gravatar_id":"","url":"https://api.github.com/users/svk31","html_url":"https://github.com/svk31","followers_url":"https://api.github.com/users/svk31/followers","following_url":"https://api.github.com/users/svk31/following{/other_user}","gists_url":"https://api.github.com/users/svk31/gists{/gist_id}","starred_url":"https://api.github.com/users/svk31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svk31/subscriptions","organizations_url":"https://api.github.com/users/svk31/orgs","repos_url":"https://api.github.com/users/svk31/repos","events_url":"https://api.github.com/users/svk31/events{/privacy}","received_events_url":"https://api.github.com/users/svk31/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/cryptonomex/graphene-ui/milestones/10","html_url":"https://github.com/cryptonomex/graphene-ui/milestones/2.0.151209","labels_url":"https://api.github.com/repos/cryptonomex/graphene-ui/milestones/10/labels","id":1417734,"number":10,"title":"2.0.151209","description":"","creator":{"login":"wmbutler","id":1254810,"avatar_url":"https://avatars.githubusercontent.com/u/1254810?v=3","gravatar_id":"","url":"https://api.github.com/users/wmbutler","html_url":"https://github.com/wmbutler","followers_url":"https://api.github.com/users/wmbutler/followers","following_url":"https://api.github.com/users/wmbutler/following{/other_user}","gists_url":"https://api.github.com/users/wmbutler/gists{/gist_id}","starred_url":"https://api.github.com/users/wmbutler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmbutler/subscriptions","organizations_url":"https://api.github.com/users/wmbutler/orgs","repos_url":"https://api.github.com/users/wmbutler/repos","events_url":"https://api.github.com/users/wmbutler/events{/privacy}","received_events_url":"https://api.github.com/users/wmbutler/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":23,"state":"closed","created_at":"2015-11-18T12:27:37Z","updated_at":"2015-12-22T17:39:09Z","due_on":"2015-12-08T23:00:00Z","closed_at":"2015-12-18T17:37:20Z"},"comments":6,"created_at":"2015-12-04T19:02:45Z","updated_at":"2015-12-22T19:16:24Z","closed_at":null,"body":"I haven't clearly identified yet but from my observation there are some weird cases that maybe caused by decimal error, especially in 8-digit markets. e.g. BTS:TRADE.BTC, BTS:GOLD. I will dig into it when possible."},"comment":{"url":"https://api.github.com/repos/cryptonomex/graphene-ui/issues/comments/166707167","html_url":"https://github.com/cryptonomex/graphene-ui/issues/586#issuecomment-166707167","issue_url":"https://api.github.com/repos/cryptonomex/graphene-ui/issues/586","id":166707167,"user":{"login":"svk31","id":6890015,"avatar_url":"https://avatars.githubusercontent.com/u/6890015?v=3","gravatar_id":"","url":"https://api.github.com/users/svk31","html_url":"https://github.com/svk31","followers_url":"https://api.github.com/users/svk31/followers","following_url":"https://api.github.com/users/svk31/following{/other_user}","gists_url":"https://api.github.com/users/svk31/gists{/gist_id}","starred_url":"https://api.github.com/users/svk31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svk31/subscriptions","organizations_url":"https://api.github.com/users/svk31/orgs","repos_url":"https://api.github.com/users/svk31/repos","events_url":"https://api.github.com/users/svk31/events{/privacy}","received_events_url":"https://api.github.com/users/svk31/received_events","type":"User","site_admin":false},"created_at":"2015-12-22T19:16:24Z","updated_at":"2015-12-22T19:16:24Z","body":"That's the way it's already handled, for example when someone enters a price manually I calculate an integer ratio to represent that decimal value. Orders taken from the orderbook by clicking on it use the price ratio as given by the blockchain.\r\n\r\nThe problems arise when combining that price with the amount/quantity the user wants to buy or sell. In some cases this results in a \"price\" that isn't possible to maintain as described above. There might be a simple solution to this that I'm just not seeing though, probably been staring at it too long..\r\n\r\n"}}