{"action":"created","comment":{"url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/comments/98320049","pull_request_review_id":18963387,"id":98320049,"diff_hunk":"@@ -304,3 +304,7 @@ You can pass options to statistics page by adding them to URL. Eg, ``http://loca\n - Allowed values: ``lentperc``, ``onlyfee``.\n - Default value: ``lentperc``.\n - ``onlyfee`` calculates effective rate without considering coin lent percentage.\n+\n+``displayUnit`` controls BTC unit output\n+- Allowed values: ``BTC``, ``mBTC``, ``uBTC``, ``Satoshi``.","path":"docs/configuration.rst","position":15,"original_position":15,"commit_id":"d5a7ea72d2a6ab08ab845ae0757ba86e8462c715","original_commit_id":"d5a7ea72d2a6ab08ab845ae0757ba86e8462c715","user":{"login":"Evanito","id":5620666,"avatar_url":"https://avatars.githubusercontent.com/u/5620666?v=3","gravatar_id":"","url":"https://api.github.com/users/Evanito","html_url":"https://github.com/Evanito","followers_url":"https://api.github.com/users/Evanito/followers","following_url":"https://api.github.com/users/Evanito/following{/other_user}","gists_url":"https://api.github.com/users/Evanito/gists{/gist_id}","starred_url":"https://api.github.com/users/Evanito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Evanito/subscriptions","organizations_url":"https://api.github.com/users/Evanito/orgs","repos_url":"https://api.github.com/users/Evanito/repos","events_url":"https://api.github.com/users/Evanito/events{/privacy}","received_events_url":"https://api.github.com/users/Evanito/received_events","type":"User","site_admin":false},"body":"Consider using `Bit` instead of `uBTC`, since it is a more recognised standard","created_at":"2017-01-28T01:47:57Z","updated_at":"2017-01-28T01:55:13Z","html_url":"https://github.com/Mikadily/poloniexlendingbot/pull/200#discussion_r98320049","pull_request_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/200","_links":{"self":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/comments/98320049"},"html":{"href":"https://github.com/Mikadily/poloniexlendingbot/pull/200#discussion_r98320049"},"pull_request":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/200"}}},"pull_request":{"url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/200","id":102639051,"html_url":"https://github.com/Mikadily/poloniexlendingbot/pull/200","diff_url":"https://github.com/Mikadily/poloniexlendingbot/pull/200.diff","patch_url":"https://github.com/Mikadily/poloniexlendingbot/pull/200.patch","issue_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues/200","number":200,"state":"open","locked":false,"title":"Custom btc display unit","user":{"login":"rnevet","id":1645822,"avatar_url":"https://avatars.githubusercontent.com/u/1645822?v=3","gravatar_id":"","url":"https://api.github.com/users/rnevet","html_url":"https://github.com/rnevet","followers_url":"https://api.github.com/users/rnevet/followers","following_url":"https://api.github.com/users/rnevet/following{/other_user}","gists_url":"https://api.github.com/users/rnevet/gists{/gist_id}","starred_url":"https://api.github.com/users/rnevet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rnevet/subscriptions","organizations_url":"https://api.github.com/users/rnevet/orgs","repos_url":"https://api.github.com/users/rnevet/repos","events_url":"https://api.github.com/users/rnevet/events{/privacy}","received_events_url":"https://api.github.com/users/rnevet/received_events","type":"User","site_admin":false},"body":"1. Enable displaying BTC in mBTC, uBTC, Satoshi units.\r\n2. Correctly display summery if output currency isn't BTC.\r\n3. Allow exiting bot loop from sleep after error.\r\n\r\nSince there is a JS update included make sure to fully refresh the HTML page.\r\n\r\n## Description\r\nImplements https://github.com/Mikadily/poloniexlendingbot/issues/197\r\nFixes https://github.com/Mikadily/poloniexlendingbot/issues/196\r\n\r\n## TESTING STAGE\r\nIn Testing\r\n\r\n## Types of changes\r\n- [x] Bug fix (non-breaking change which fixes an issue)\r\n- [x] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n- [x] **I have read CONTRIBUTING.md**\r\n- [x] **I fully understand [Github Flow.](https://guides.github.com/introduction/flow/)**\r\n- [x] **My code adheres to the [code style of this project.](https://poloniexlendingbot.readthedocs.io/en/latest/contributing.html)**\r\n- [x] **I have updated the documentation in /docs if I have changed the config, arguments, logic in how the bot works, or anything that understandably needs a documentation change.**\r\n- [N/A] **I have updated the config file accordingly if my change requires a new configuration setting or changes an existing one.**\r\n- [ ] **I have tested the bot with no issues for 24 continuous hours. If issues were experienced, they have been patched and tested again.**\r\n","created_at":"2017-01-22T22:31:58Z","updated_at":"2017-01-28T01:55:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1a9b4fa749a792d3a674d10da5b913897876214e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/200/commits","review_comments_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/200/comments","review_comment_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues/200/comments","statuses_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/statuses/d5a7ea72d2a6ab08ab845ae0757ba86e8462c715","head":{"label":"Mikadily:custom_btc_display_unit","ref":"custom_btc_display_unit","sha":"d5a7ea72d2a6ab08ab845ae0757ba86e8462c715","user":{"login":"Mikadily","id":2736855,"avatar_url":"https://avatars.githubusercontent.com/u/2736855?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikadily","html_url":"https://github.com/Mikadily","followers_url":"https://api.github.com/users/Mikadily/followers","following_url":"https://api.github.com/users/Mikadily/following{/other_user}","gists_url":"https://api.github.com/users/Mikadily/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikadily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikadily/subscriptions","organizations_url":"https://api.github.com/users/Mikadily/orgs","repos_url":"https://api.github.com/users/Mikadily/repos","events_url":"https://api.github.com/users/Mikadily/events{/privacy}","received_events_url":"https://api.github.com/users/Mikadily/received_events","type":"User","site_admin":false},"repo":{"id":37585020,"name":"poloniexlendingbot","full_name":"Mikadily/poloniexlendingbot","owner":{"login":"Mikadily","id":2736855,"avatar_url":"https://avatars.githubusercontent.com/u/2736855?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikadily","html_url":"https://github.com/Mikadily","followers_url":"https://api.github.com/users/Mikadily/followers","following_url":"https://api.github.com/users/Mikadily/following{/other_user}","gists_url":"https://api.github.com/users/Mikadily/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikadily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikadily/subscriptions","organizations_url":"https://api.github.com/users/Mikadily/orgs","repos_url":"https://api.github.com/users/Mikadily/repos","events_url":"https://api.github.com/users/Mikadily/events{/privacy}","received_events_url":"https://api.github.com/users/Mikadily/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mikadily/poloniexlendingbot","description":"Automated lending on Poloniex exchange","fork":false,"url":"https://api.github.com/repos/Mikadily/poloniexlendingbot","forks_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/forks","keys_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/teams","hooks_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/hooks","issue_events_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues/events{/number}","events_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/events","assignees_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/assignees{/user}","branches_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/branches{/branch}","tags_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/tags","blobs_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/statuses/{sha}","languages_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/languages","stargazers_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/stargazers","contributors_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/contributors","subscribers_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/subscribers","subscription_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/subscription","commits_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/contents/{+path}","compare_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/merges","archive_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/downloads","issues_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues{/number}","pulls_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls{/number}","milestones_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/milestones{/number}","notifications_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/labels{/name}","releases_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/releases{/id}","deployments_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/deployments","created_at":"2015-06-17T09:14:29Z","updated_at":"2017-01-26T07:34:38Z","pushed_at":"2017-01-28T00:16:05Z","git_url":"git://github.com/Mikadily/poloniexlendingbot.git","ssh_url":"git@github.com:Mikadily/poloniexlendingbot.git","clone_url":"https://github.com/Mikadily/poloniexlendingbot.git","svn_url":"https://github.com/Mikadily/poloniexlendingbot","homepage":"","size":330,"stargazers_count":184,"watchers_count":184,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":17,"forks":83,"open_issues":17,"watchers":184,"default_branch":"master"}},"base":{"label":"Mikadily:master","ref":"master","sha":"00ba50103c1c152f22f00526660ba279ed012f7d","user":{"login":"Mikadily","id":2736855,"avatar_url":"https://avatars.githubusercontent.com/u/2736855?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikadily","html_url":"https://github.com/Mikadily","followers_url":"https://api.github.com/users/Mikadily/followers","following_url":"https://api.github.com/users/Mikadily/following{/other_user}","gists_url":"https://api.github.com/users/Mikadily/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikadily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikadily/subscriptions","organizations_url":"https://api.github.com/users/Mikadily/orgs","repos_url":"https://api.github.com/users/Mikadily/repos","events_url":"https://api.github.com/users/Mikadily/events{/privacy}","received_events_url":"https://api.github.com/users/Mikadily/received_events","type":"User","site_admin":false},"repo":{"id":37585020,"name":"poloniexlendingbot","full_name":"Mikadily/poloniexlendingbot","owner":{"login":"Mikadily","id":2736855,"avatar_url":"https://avatars.githubusercontent.com/u/2736855?v=3","gravatar_id":"","url":"https://api.github.com/users/Mikadily","html_url":"https://github.com/Mikadily","followers_url":"https://api.github.com/users/Mikadily/followers","following_url":"https://api.github.com/users/Mikadily/following{/other_user}","gists_url":"https://api.github.com/users/Mikadily/gists{/gist_id}","starred_url":"https://api.github.com/users/Mikadily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mikadily/subscriptions","organizations_url":"https://api.github.com/users/Mikadily/orgs","repos_url":"https://api.github.com/users/Mikadily/repos","events_url":"https://api.github.com/users/Mikadily/events{/privacy}","received_events_url":"https://api.github.com/users/Mikadily/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Mikadily/poloniexlendingbot","description":"Automated lending on Poloniex exchange","fork":false,"url":"https://api.github.com/repos/Mikadily/poloniexlendingbot","forks_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/forks","keys_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/teams","hooks_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/hooks","issue_events_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues/events{/number}","events_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/events","assignees_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/assignees{/user}","branches_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/branches{/branch}","tags_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/tags","blobs_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/statuses/{sha}","languages_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/languages","stargazers_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/stargazers","contributors_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/contributors","subscribers_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/subscribers","subscription_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/subscription","commits_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/contents/{+path}","compare_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/merges","archive_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/downloads","issues_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues{/number}","pulls_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls{/number}","milestones_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/milestones{/number}","notifications_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/labels{/name}","releases_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/releases{/id}","deployments_url":"https://api.github.com/repos/Mikadily/poloniexlendingbot/deployments","created_at":"2015-06-17T09:14:29Z","updated_at":"2017-01-26T07:34:38Z","pushed_at":"2017-01-28T00:16:05Z","git_url":"git://github.com/Mikadily/poloniexlendingbot.git","ssh_url":"git@github.com:Mikadily/poloniexlendingbot.git","clone_url":"https://github.com/Mikadily/poloniexlendingbot.git","svn_url":"https://github.com/Mikadily/poloniexlendingbot","homepage":"","size":330,"stargazers_count":184,"watchers_count":184,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":83,"mirror_url":null,"open_issues_count":17,"forks":83,"open_issues":17,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/200"},"html":{"href":"https://github.com/Mikadily/poloniexlendingbot/pull/200"},"issue":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues/200"},"comments":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/issues/200/comments"},"review_comments":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/200/comments"},"review_comment":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/pulls/200/commits"},"statuses":{"href":"https://api.github.com/repos/Mikadily/poloniexlendingbot/statuses/d5a7ea72d2a6ab08ab845ae0757ba86e8462c715"}}}}
{"actor":{"display_login":"Evanito"}}