{"action":"created","issue":{"url":"https://api.github.com/repos/knowm/XChange/issues/2486","repository_url":"https://api.github.com/repos/knowm/XChange","labels_url":"https://api.github.com/repos/knowm/XChange/issues/2486/labels{/name}","comments_url":"https://api.github.com/repos/knowm/XChange/issues/2486/comments","events_url":"https://api.github.com/repos/knowm/XChange/issues/2486/events","html_url":"https://github.com/knowm/XChange/pull/2486","id":312632143,"number":2486,"title":"First endpoint from new Bitbay API","user":{"login":"walec51","id":738484,"avatar_url":"https://avatars0.githubusercontent.com/u/738484?v=4","gravatar_id":"","url":"https://api.github.com/users/walec51","html_url":"https://github.com/walec51","followers_url":"https://api.github.com/users/walec51/followers","following_url":"https://api.github.com/users/walec51/following{/other_user}","gists_url":"https://api.github.com/users/walec51/gists{/gist_id}","starred_url":"https://api.github.com/users/walec51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walec51/subscriptions","organizations_url":"https://api.github.com/users/walec51/orgs","repos_url":"https://api.github.com/users/walec51/repos","events_url":"https://api.github.com/users/walec51/events{/privacy}","received_events_url":"https://api.github.com/users/walec51/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-09T18:11:31Z","updated_at":"2018-04-10T09:43:15Z","closed_at":"2018-04-09T19:46:00Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/knowm/XChange/pulls/2486","html_url":"https://github.com/knowm/XChange/pull/2486","diff_url":"https://github.com/knowm/XChange/pull/2486.diff","patch_url":"https://github.com/knowm/XChange/pull/2486.patch"},"body":"Its still not officially published but its the only option if you want to download any users full trades history.\r\nCurrent official API only gives you past 3-4 months of data."},"comment":{"url":"https://api.github.com/repos/knowm/XChange/issues/comments/380039497","html_url":"https://github.com/knowm/XChange/pull/2486#issuecomment-380039497","issue_url":"https://api.github.com/repos/knowm/XChange/issues/2486","id":380039497,"user":{"login":"walec51","id":738484,"avatar_url":"https://avatars0.githubusercontent.com/u/738484?v=4","gravatar_id":"","url":"https://api.github.com/users/walec51","html_url":"https://github.com/walec51","followers_url":"https://api.github.com/users/walec51/followers","following_url":"https://api.github.com/users/walec51/following{/other_user}","gists_url":"https://api.github.com/users/walec51/gists{/gist_id}","starred_url":"https://api.github.com/users/walec51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walec51/subscriptions","organizations_url":"https://api.github.com/users/walec51/orgs","repos_url":"https://api.github.com/users/walec51/repos","events_url":"https://api.github.com/users/walec51/events{/privacy}","received_events_url":"https://api.github.com/users/walec51/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T09:43:15Z","updated_at":"2018-04-10T09:43:15Z","author_association":"CONTRIBUTOR","body":"The pageCursor parameter is NOT a number, you cannot set it to zero or iterate it and expect it to work.\r\nThe cursor value for the first page is 'start', for the next page you always receive an string in UserTrades that somewhat looks like an UUID. Therefore this type of paggination system is totally different from the one user TradeHistoryParamLimit where your just iterate 0,1,2,3,... I've seen the pagination system used in BitBays new API in NoSQL solutions like Cassandra so it think they migrated to one for historical data. On a technical level its way more efficient for large datasets then a typical numeric limit / offset solution or page numbers. \r\n\r\nshould I implement an example or an unit test on how to use it?"}}
{"actor":{"display_login":"walec51"}}