{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/peterjmorgan/ccxt/pulls/1","id":169725607,"html_url":"https://github.com/peterjmorgan/ccxt/pull/1","diff_url":"https://github.com/peterjmorgan/ccxt/pull/1.diff","patch_url":"https://github.com/peterjmorgan/ccxt/pull/1.patch","issue_url":"https://api.github.com/repos/peterjmorgan/ccxt/issues/1","number":1,"state":"open","locked":false,"title":"Fix gdax.fetch_ohlcv","user":{"login":"peterjmorgan","id":132468,"avatar_url":"https://avatars2.githubusercontent.com/u/132468?v=4","gravatar_id":"","url":"https://api.github.com/users/peterjmorgan","html_url":"https://github.com/peterjmorgan","followers_url":"https://api.github.com/users/peterjmorgan/followers","following_url":"https://api.github.com/users/peterjmorgan/following{/other_user}","gists_url":"https://api.github.com/users/peterjmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjmorgan/subscriptions","organizations_url":"https://api.github.com/users/peterjmorgan/orgs","repos_url":"https://api.github.com/users/peterjmorgan/repos","events_url":"https://api.github.com/users/peterjmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/peterjmorgan/received_events","type":"User","site_admin":false},"body":"The existing gdax.fetch_ohlcv() incorrectly calculates the request['end'] timestamp by using self.sum.\r\n\r\nThe patch fixes this by calculating the request['end'] timestamp with: ((limit * granularity * 1000) + since)","created_at":"2018-02-16T21:06:00Z","updated_at":"2018-02-16T21:06:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":839526911,"url":"https://api.github.com/repos/peterjmorgan/ccxt/labels/bug","name":"bug","color":"d73a4a","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/peterjmorgan/ccxt/pulls/1/commits","review_comments_url":"https://api.github.com/repos/peterjmorgan/ccxt/pulls/1/comments","review_comment_url":"https://api.github.com/repos/peterjmorgan/ccxt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/peterjmorgan/ccxt/issues/1/comments","statuses_url":"https://api.github.com/repos/peterjmorgan/ccxt/statuses/e2b1cb45d0a4b6cfaac7a936e07c48c04fcab751","head":{"label":"peterjmorgan:peterjmorgan-gdax-fetch_ohlcv-sum-patch","ref":"peterjmorgan-gdax-fetch_ohlcv-sum-patch","sha":"e2b1cb45d0a4b6cfaac7a936e07c48c04fcab751","user":{"login":"peterjmorgan","id":132468,"avatar_url":"https://avatars2.githubusercontent.com/u/132468?v=4","gravatar_id":"","url":"https://api.github.com/users/peterjmorgan","html_url":"https://github.com/peterjmorgan","followers_url":"https://api.github.com/users/peterjmorgan/followers","following_url":"https://api.github.com/users/peterjmorgan/following{/other_user}","gists_url":"https://api.github.com/users/peterjmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjmorgan/subscriptions","organizations_url":"https://api.github.com/users/peterjmorgan/orgs","repos_url":"https://api.github.com/users/peterjmorgan/repos","events_url":"https://api.github.com/users/peterjmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/peterjmorgan/received_events","type":"User","site_admin":false},"repo":{"id":121800314,"name":"ccxt","full_name":"peterjmorgan/ccxt","owner":{"login":"peterjmorgan","id":132468,"avatar_url":"https://avatars2.githubusercontent.com/u/132468?v=4","gravatar_id":"","url":"https://api.github.com/users/peterjmorgan","html_url":"https://github.com/peterjmorgan","followers_url":"https://api.github.com/users/peterjmorgan/followers","following_url":"https://api.github.com/users/peterjmorgan/following{/other_user}","gists_url":"https://api.github.com/users/peterjmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjmorgan/subscriptions","organizations_url":"https://api.github.com/users/peterjmorgan/orgs","repos_url":"https://api.github.com/users/peterjmorgan/repos","events_url":"https://api.github.com/users/peterjmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/peterjmorgan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterjmorgan/ccxt","description":"A JavaScript / Python / PHP cryptocurrency trading library with support for more than 90 bitcoin/altcoin exchanges","fork":true,"url":"https://api.github.com/repos/peterjmorgan/ccxt","forks_url":"https://api.github.com/repos/peterjmorgan/ccxt/forks","keys_url":"https://api.github.com/repos/peterjmorgan/ccxt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterjmorgan/ccxt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterjmorgan/ccxt/teams","hooks_url":"https://api.github.com/repos/peterjmorgan/ccxt/hooks","issue_events_url":"https://api.github.com/repos/peterjmorgan/ccxt/issues/events{/number}","events_url":"https://api.github.com/repos/peterjmorgan/ccxt/events","assignees_url":"https://api.github.com/repos/peterjmorgan/ccxt/assignees{/user}","branches_url":"https://api.github.com/repos/peterjmorgan/ccxt/branches{/branch}","tags_url":"https://api.github.com/repos/peterjmorgan/ccxt/tags","blobs_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterjmorgan/ccxt/statuses/{sha}","languages_url":"https://api.github.com/repos/peterjmorgan/ccxt/languages","stargazers_url":"https://api.github.com/repos/peterjmorgan/ccxt/stargazers","contributors_url":"https://api.github.com/repos/peterjmorgan/ccxt/contributors","subscribers_url":"https://api.github.com/repos/peterjmorgan/ccxt/subscribers","subscription_url":"https://api.github.com/repos/peterjmorgan/ccxt/subscription","commits_url":"https://api.github.com/repos/peterjmorgan/ccxt/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterjmorgan/ccxt/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterjmorgan/ccxt/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterjmorgan/ccxt/contents/{+path}","compare_url":"https://api.github.com/repos/peterjmorgan/ccxt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterjmorgan/ccxt/merges","archive_url":"https://api.github.com/repos/peterjmorgan/ccxt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterjmorgan/ccxt/downloads","issues_url":"https://api.github.com/repos/peterjmorgan/ccxt/issues{/number}","pulls_url":"https://api.github.com/repos/peterjmorgan/ccxt/pulls{/number}","milestones_url":"https://api.github.com/repos/peterjmorgan/ccxt/milestones{/number}","notifications_url":"https://api.github.com/repos/peterjmorgan/ccxt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterjmorgan/ccxt/labels{/name}","releases_url":"https://api.github.com/repos/peterjmorgan/ccxt/releases{/id}","deployments_url":"https://api.github.com/repos/peterjmorgan/ccxt/deployments","created_at":"2018-02-16T21:01:24Z","updated_at":"2018-02-16T21:01:32Z","pushed_at":"2018-02-16T21:05:24Z","git_url":"git://github.com/peterjmorgan/ccxt.git","ssh_url":"git@github.com:peterjmorgan/ccxt.git","clone_url":"https://github.com/peterjmorgan/ccxt.git","svn_url":"https://github.com/peterjmorgan/ccxt","homepage":"","size":402783,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"peterjmorgan:master","ref":"master","sha":"b055427b443777e1a333b38400a30eebef4262b7","user":{"login":"peterjmorgan","id":132468,"avatar_url":"https://avatars2.githubusercontent.com/u/132468?v=4","gravatar_id":"","url":"https://api.github.com/users/peterjmorgan","html_url":"https://github.com/peterjmorgan","followers_url":"https://api.github.com/users/peterjmorgan/followers","following_url":"https://api.github.com/users/peterjmorgan/following{/other_user}","gists_url":"https://api.github.com/users/peterjmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjmorgan/subscriptions","organizations_url":"https://api.github.com/users/peterjmorgan/orgs","repos_url":"https://api.github.com/users/peterjmorgan/repos","events_url":"https://api.github.com/users/peterjmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/peterjmorgan/received_events","type":"User","site_admin":false},"repo":{"id":121800314,"name":"ccxt","full_name":"peterjmorgan/ccxt","owner":{"login":"peterjmorgan","id":132468,"avatar_url":"https://avatars2.githubusercontent.com/u/132468?v=4","gravatar_id":"","url":"https://api.github.com/users/peterjmorgan","html_url":"https://github.com/peterjmorgan","followers_url":"https://api.github.com/users/peterjmorgan/followers","following_url":"https://api.github.com/users/peterjmorgan/following{/other_user}","gists_url":"https://api.github.com/users/peterjmorgan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterjmorgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterjmorgan/subscriptions","organizations_url":"https://api.github.com/users/peterjmorgan/orgs","repos_url":"https://api.github.com/users/peterjmorgan/repos","events_url":"https://api.github.com/users/peterjmorgan/events{/privacy}","received_events_url":"https://api.github.com/users/peterjmorgan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterjmorgan/ccxt","description":"A JavaScript / Python / PHP cryptocurrency trading library with support for more than 90 bitcoin/altcoin exchanges","fork":true,"url":"https://api.github.com/repos/peterjmorgan/ccxt","forks_url":"https://api.github.com/repos/peterjmorgan/ccxt/forks","keys_url":"https://api.github.com/repos/peterjmorgan/ccxt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterjmorgan/ccxt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterjmorgan/ccxt/teams","hooks_url":"https://api.github.com/repos/peterjmorgan/ccxt/hooks","issue_events_url":"https://api.github.com/repos/peterjmorgan/ccxt/issues/events{/number}","events_url":"https://api.github.com/repos/peterjmorgan/ccxt/events","assignees_url":"https://api.github.com/repos/peterjmorgan/ccxt/assignees{/user}","branches_url":"https://api.github.com/repos/peterjmorgan/ccxt/branches{/branch}","tags_url":"https://api.github.com/repos/peterjmorgan/ccxt/tags","blobs_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterjmorgan/ccxt/statuses/{sha}","languages_url":"https://api.github.com/repos/peterjmorgan/ccxt/languages","stargazers_url":"https://api.github.com/repos/peterjmorgan/ccxt/stargazers","contributors_url":"https://api.github.com/repos/peterjmorgan/ccxt/contributors","subscribers_url":"https://api.github.com/repos/peterjmorgan/ccxt/subscribers","subscription_url":"https://api.github.com/repos/peterjmorgan/ccxt/subscription","commits_url":"https://api.github.com/repos/peterjmorgan/ccxt/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterjmorgan/ccxt/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterjmorgan/ccxt/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterjmorgan/ccxt/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterjmorgan/ccxt/contents/{+path}","compare_url":"https://api.github.com/repos/peterjmorgan/ccxt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterjmorgan/ccxt/merges","archive_url":"https://api.github.com/repos/peterjmorgan/ccxt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterjmorgan/ccxt/downloads","issues_url":"https://api.github.com/repos/peterjmorgan/ccxt/issues{/number}","pulls_url":"https://api.github.com/repos/peterjmorgan/ccxt/pulls{/number}","milestones_url":"https://api.github.com/repos/peterjmorgan/ccxt/milestones{/number}","notifications_url":"https://api.github.com/repos/peterjmorgan/ccxt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterjmorgan/ccxt/labels{/name}","releases_url":"https://api.github.com/repos/peterjmorgan/ccxt/releases{/id}","deployments_url":"https://api.github.com/repos/peterjmorgan/ccxt/deployments","created_at":"2018-02-16T21:01:24Z","updated_at":"2018-02-16T21:01:32Z","pushed_at":"2018-02-16T21:05:24Z","git_url":"git://github.com/peterjmorgan/ccxt.git","ssh_url":"git@github.com:peterjmorgan/ccxt.git","clone_url":"https://github.com/peterjmorgan/ccxt.git","svn_url":"https://github.com/peterjmorgan/ccxt","homepage":"","size":402783,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/peterjmorgan/ccxt/pulls/1"},"html":{"href":"https://github.com/peterjmorgan/ccxt/pull/1"},"issue":{"href":"https://api.github.com/repos/peterjmorgan/ccxt/issues/1"},"comments":{"href":"https://api.github.com/repos/peterjmorgan/ccxt/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/peterjmorgan/ccxt/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/peterjmorgan/ccxt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/peterjmorgan/ccxt/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/peterjmorgan/ccxt/statuses/e2b1cb45d0a4b6cfaac7a936e07c48c04fcab751"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"peterjmorgan"}}