{"action":"opened","number":75,"pull_request":{"url":"https://api.github.com/repos/quantopian/alphalens/pulls/75","id":82578805,"html_url":"https://github.com/quantopian/alphalens/pull/75","diff_url":"https://github.com/quantopian/alphalens/pull/75.diff","patch_url":"https://github.com/quantopian/alphalens/pull/75.patch","issue_url":"https://api.github.com/repos/quantopian/alphalens/issues/75","number":75,"state":"open","locked":false,"title":"BUG: wrong forward daily returns","user":{"login":"luca-s","id":15273575,"avatar_url":"https://avatars.githubusercontent.com/u/15273575?v=3","gravatar_id":"","url":"https://api.github.com/users/luca-s","html_url":"https://github.com/luca-s","followers_url":"https://api.github.com/users/luca-s/followers","following_url":"https://api.github.com/users/luca-s/following{/other_user}","gists_url":"https://api.github.com/users/luca-s/gists{/gist_id}","starred_url":"https://api.github.com/users/luca-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luca-s/subscriptions","organizations_url":"https://api.github.com/users/luca-s/orgs","repos_url":"https://api.github.com/users/luca-s/repos","events_url":"https://api.github.com/users/luca-s/events{/privacy}","received_events_url":"https://api.github.com/users/luca-s/received_events","type":"User","site_admin":false},"body":"current implementation calculates daily returns as forward returns divided\r\nby number of days:\r\ndaily_returns = fwd_ret / days\r\n\r\nThis patch calculate the daily returns as the value the returns would have\r\nhad every single day for 'forward' days if they had grown at a steady rate\r\nthat is:\r\ndaily_returns = (fwd_ret+1)**(1./days) - 1","created_at":"2016-08-24T16:51:56Z","updated_at":"2016-08-24T16:51:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/quantopian/alphalens/pulls/75/commits","review_comments_url":"https://api.github.com/repos/quantopian/alphalens/pulls/75/comments","review_comment_url":"https://api.github.com/repos/quantopian/alphalens/pulls/comments{/number}","comments_url":"https://api.github.com/repos/quantopian/alphalens/issues/75/comments","statuses_url":"https://api.github.com/repos/quantopian/alphalens/statuses/9212b3ada8fdc00e99a1f7d77e1ad3f49a87ef18","head":{"label":"luca-s:issue_74","ref":"issue_74","sha":"9212b3ada8fdc00e99a1f7d77e1ad3f49a87ef18","user":{"login":"luca-s","id":15273575,"avatar_url":"https://avatars.githubusercontent.com/u/15273575?v=3","gravatar_id":"","url":"https://api.github.com/users/luca-s","html_url":"https://github.com/luca-s","followers_url":"https://api.github.com/users/luca-s/followers","following_url":"https://api.github.com/users/luca-s/following{/other_user}","gists_url":"https://api.github.com/users/luca-s/gists{/gist_id}","starred_url":"https://api.github.com/users/luca-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luca-s/subscriptions","organizations_url":"https://api.github.com/users/luca-s/orgs","repos_url":"https://api.github.com/users/luca-s/repos","events_url":"https://api.github.com/users/luca-s/events{/privacy}","received_events_url":"https://api.github.com/users/luca-s/received_events","type":"User","site_admin":false},"repo":{"id":64215580,"name":"alphalens","full_name":"luca-s/alphalens","owner":{"login":"luca-s","id":15273575,"avatar_url":"https://avatars.githubusercontent.com/u/15273575?v=3","gravatar_id":"","url":"https://api.github.com/users/luca-s","html_url":"https://github.com/luca-s","followers_url":"https://api.github.com/users/luca-s/followers","following_url":"https://api.github.com/users/luca-s/following{/other_user}","gists_url":"https://api.github.com/users/luca-s/gists{/gist_id}","starred_url":"https://api.github.com/users/luca-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luca-s/subscriptions","organizations_url":"https://api.github.com/users/luca-s/orgs","repos_url":"https://api.github.com/users/luca-s/repos","events_url":"https://api.github.com/users/luca-s/events{/privacy}","received_events_url":"https://api.github.com/users/luca-s/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luca-s/alphalens","description":"Performance analysis of predictive (alpha) stock factors","fork":true,"url":"https://api.github.com/repos/luca-s/alphalens","forks_url":"https://api.github.com/repos/luca-s/alphalens/forks","keys_url":"https://api.github.com/repos/luca-s/alphalens/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luca-s/alphalens/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luca-s/alphalens/teams","hooks_url":"https://api.github.com/repos/luca-s/alphalens/hooks","issue_events_url":"https://api.github.com/repos/luca-s/alphalens/issues/events{/number}","events_url":"https://api.github.com/repos/luca-s/alphalens/events","assignees_url":"https://api.github.com/repos/luca-s/alphalens/assignees{/user}","branches_url":"https://api.github.com/repos/luca-s/alphalens/branches{/branch}","tags_url":"https://api.github.com/repos/luca-s/alphalens/tags","blobs_url":"https://api.github.com/repos/luca-s/alphalens/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luca-s/alphalens/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luca-s/alphalens/git/refs{/sha}","trees_url":"https://api.github.com/repos/luca-s/alphalens/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luca-s/alphalens/statuses/{sha}","languages_url":"https://api.github.com/repos/luca-s/alphalens/languages","stargazers_url":"https://api.github.com/repos/luca-s/alphalens/stargazers","contributors_url":"https://api.github.com/repos/luca-s/alphalens/contributors","subscribers_url":"https://api.github.com/repos/luca-s/alphalens/subscribers","subscription_url":"https://api.github.com/repos/luca-s/alphalens/subscription","commits_url":"https://api.github.com/repos/luca-s/alphalens/commits{/sha}","git_commits_url":"https://api.github.com/repos/luca-s/alphalens/git/commits{/sha}","comments_url":"https://api.github.com/repos/luca-s/alphalens/comments{/number}","issue_comment_url":"https://api.github.com/repos/luca-s/alphalens/issues/comments{/number}","contents_url":"https://api.github.com/repos/luca-s/alphalens/contents/{+path}","compare_url":"https://api.github.com/repos/luca-s/alphalens/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luca-s/alphalens/merges","archive_url":"https://api.github.com/repos/luca-s/alphalens/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luca-s/alphalens/downloads","issues_url":"https://api.github.com/repos/luca-s/alphalens/issues{/number}","pulls_url":"https://api.github.com/repos/luca-s/alphalens/pulls{/number}","milestones_url":"https://api.github.com/repos/luca-s/alphalens/milestones{/number}","notifications_url":"https://api.github.com/repos/luca-s/alphalens/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luca-s/alphalens/labels{/name}","releases_url":"https://api.github.com/repos/luca-s/alphalens/releases{/id}","deployments_url":"https://api.github.com/repos/luca-s/alphalens/deployments","created_at":"2016-07-26T11:21:19Z","updated_at":"2016-07-26T11:21:20Z","pushed_at":"2016-08-24T16:50:29Z","git_url":"git://github.com/luca-s/alphalens.git","ssh_url":"git@github.com:luca-s/alphalens.git","clone_url":"https://github.com/luca-s/alphalens.git","svn_url":"https://github.com/luca-s/alphalens","homepage":"http://quantopian.github.io/alphalens","size":20715,"stargazers_count":0,"watchers_count":0,"language":"Jupyter Notebook","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"quantopian:master","ref":"master","sha":"018e2b85ac66c4b0c17b8e9aae521d3ec7766275","user":{"login":"quantopian","id":1393215,"avatar_url":"https://avatars.githubusercontent.com/u/1393215?v=3","gravatar_id":"","url":"https://api.github.com/users/quantopian","html_url":"https://github.com/quantopian","followers_url":"https://api.github.com/users/quantopian/followers","following_url":"https://api.github.com/users/quantopian/following{/other_user}","gists_url":"https://api.github.com/users/quantopian/gists{/gist_id}","starred_url":"https://api.github.com/users/quantopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantopian/subscriptions","organizations_url":"https://api.github.com/users/quantopian/orgs","repos_url":"https://api.github.com/users/quantopian/repos","events_url":"https://api.github.com/users/quantopian/events{/privacy}","received_events_url":"https://api.github.com/users/quantopian/received_events","type":"Organization","site_admin":false},"repo":{"id":60379729,"name":"alphalens","full_name":"quantopian/alphalens","owner":{"login":"quantopian","id":1393215,"avatar_url":"https://avatars.githubusercontent.com/u/1393215?v=3","gravatar_id":"","url":"https://api.github.com/users/quantopian","html_url":"https://github.com/quantopian","followers_url":"https://api.github.com/users/quantopian/followers","following_url":"https://api.github.com/users/quantopian/following{/other_user}","gists_url":"https://api.github.com/users/quantopian/gists{/gist_id}","starred_url":"https://api.github.com/users/quantopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quantopian/subscriptions","organizations_url":"https://api.github.com/users/quantopian/orgs","repos_url":"https://api.github.com/users/quantopian/repos","events_url":"https://api.github.com/users/quantopian/events{/privacy}","received_events_url":"https://api.github.com/users/quantopian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/quantopian/alphalens","description":"Performance analysis of predictive (alpha) stock factors","fork":false,"url":"https://api.github.com/repos/quantopian/alphalens","forks_url":"https://api.github.com/repos/quantopian/alphalens/forks","keys_url":"https://api.github.com/repos/quantopian/alphalens/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quantopian/alphalens/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quantopian/alphalens/teams","hooks_url":"https://api.github.com/repos/quantopian/alphalens/hooks","issue_events_url":"https://api.github.com/repos/quantopian/alphalens/issues/events{/number}","events_url":"https://api.github.com/repos/quantopian/alphalens/events","assignees_url":"https://api.github.com/repos/quantopian/alphalens/assignees{/user}","branches_url":"https://api.github.com/repos/quantopian/alphalens/branches{/branch}","tags_url":"https://api.github.com/repos/quantopian/alphalens/tags","blobs_url":"https://api.github.com/repos/quantopian/alphalens/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quantopian/alphalens/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quantopian/alphalens/git/refs{/sha}","trees_url":"https://api.github.com/repos/quantopian/alphalens/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quantopian/alphalens/statuses/{sha}","languages_url":"https://api.github.com/repos/quantopian/alphalens/languages","stargazers_url":"https://api.github.com/repos/quantopian/alphalens/stargazers","contributors_url":"https://api.github.com/repos/quantopian/alphalens/contributors","subscribers_url":"https://api.github.com/repos/quantopian/alphalens/subscribers","subscription_url":"https://api.github.com/repos/quantopian/alphalens/subscription","commits_url":"https://api.github.com/repos/quantopian/alphalens/commits{/sha}","git_commits_url":"https://api.github.com/repos/quantopian/alphalens/git/commits{/sha}","comments_url":"https://api.github.com/repos/quantopian/alphalens/comments{/number}","issue_comment_url":"https://api.github.com/repos/quantopian/alphalens/issues/comments{/number}","contents_url":"https://api.github.com/repos/quantopian/alphalens/contents/{+path}","compare_url":"https://api.github.com/repos/quantopian/alphalens/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quantopian/alphalens/merges","archive_url":"https://api.github.com/repos/quantopian/alphalens/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quantopian/alphalens/downloads","issues_url":"https://api.github.com/repos/quantopian/alphalens/issues{/number}","pulls_url":"https://api.github.com/repos/quantopian/alphalens/pulls{/number}","milestones_url":"https://api.github.com/repos/quantopian/alphalens/milestones{/number}","notifications_url":"https://api.github.com/repos/quantopian/alphalens/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quantopian/alphalens/labels{/name}","releases_url":"https://api.github.com/repos/quantopian/alphalens/releases{/id}","deployments_url":"https://api.github.com/repos/quantopian/alphalens/deployments","created_at":"2016-06-03T21:49:15Z","updated_at":"2016-08-24T12:53:42Z","pushed_at":"2016-08-24T15:37:35Z","git_url":"git://github.com/quantopian/alphalens.git","ssh_url":"git@github.com:quantopian/alphalens.git","clone_url":"https://github.com/quantopian/alphalens.git","svn_url":"https://github.com/quantopian/alphalens","homepage":"http://quantopian.github.io/alphalens","size":21078,"stargazers_count":24,"watchers_count":24,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":17,"forks":7,"open_issues":17,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/75"},"html":{"href":"https://github.com/quantopian/alphalens/pull/75"},"issue":{"href":"https://api.github.com/repos/quantopian/alphalens/issues/75"},"comments":{"href":"https://api.github.com/repos/quantopian/alphalens/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/quantopian/alphalens/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/quantopian/alphalens/statuses/9212b3ada8fdc00e99a1f7d77e1ad3f49a87ef18"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"luca-s"}}