{"action":"closed","number":241,"pull_request":{"url":"https://api.github.com/repos/lballabio/quantlib/pulls/241","id":35619515,"html_url":"https://github.com/lballabio/quantlib/pull/241","diff_url":"https://github.com/lballabio/quantlib/pull/241.diff","patch_url":"https://github.com/lballabio/quantlib/pull/241.patch","issue_url":"https://api.github.com/repos/lballabio/quantlib/issues/241","number":241,"state":"closed","locked":false,"title":"LongstaffSchwartz with exercise probability","user":{"login":"gpazmandi","id":11535321,"avatar_url":"https://avatars.githubusercontent.com/u/11535321?v=3","gravatar_id":"","url":"https://api.github.com/users/gpazmandi","html_url":"https://github.com/gpazmandi","followers_url":"https://api.github.com/users/gpazmandi/followers","following_url":"https://api.github.com/users/gpazmandi/following{/other_user}","gists_url":"https://api.github.com/users/gpazmandi/gists{/gist_id}","starred_url":"https://api.github.com/users/gpazmandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpazmandi/subscriptions","organizations_url":"https://api.github.com/users/gpazmandi/orgs","repos_url":"https://api.github.com/users/gpazmandi/repos","events_url":"https://api.github.com/users/gpazmandi/events{/privacy}","received_events_url":"https://api.github.com/users/gpazmandi/received_events","type":"User","site_admin":false},"body":"This patch extends the MC Longstaff-Schwartz engine to calculate the\r\nexercise probability of the option (the algorithm derives directly from\r\nthe Longstaff-Schwartz idea, and simply counts the number of paths\r\nwhere exercise occurs).\r\n\r\nThe results are checked in the test suite against values calculated\r\nwith third party (commercial) product.\r\n\r\nAt this time the other methods (tree, FD) don't calculate\r\nexercise probability, but in future they can be extended as well.\r\n\r\n\r\n","created_at":"2015-05-18T10:17:28Z","updated_at":"2015-09-15T07:54:57Z","closed_at":"2015-09-15T07:54:57Z","merged_at":"2015-09-15T07:54:57Z","merge_commit_sha":"cfc5967a49a5984a3621078bd1012163fcc921dc","assignee":null,"milestone":{"url":"https://api.github.com/repos/lballabio/quantlib/milestones/3","html_url":"https://github.com/lballabio/quantlib/milestones/1.7%20release","labels_url":"https://api.github.com/repos/lballabio/quantlib/milestones/3/labels","id":1189238,"number":3,"title":"1.7 release","description":"","creator":{"login":"lballabio","id":170560,"avatar_url":"https://avatars.githubusercontent.com/u/170560?v=3","gravatar_id":"","url":"https://api.github.com/users/lballabio","html_url":"https://github.com/lballabio","followers_url":"https://api.github.com/users/lballabio/followers","following_url":"https://api.github.com/users/lballabio/following{/other_user}","gists_url":"https://api.github.com/users/lballabio/gists{/gist_id}","starred_url":"https://api.github.com/users/lballabio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lballabio/subscriptions","organizations_url":"https://api.github.com/users/lballabio/orgs","repos_url":"https://api.github.com/users/lballabio/repos","events_url":"https://api.github.com/users/lballabio/events{/privacy}","received_events_url":"https://api.github.com/users/lballabio/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":5,"state":"open","created_at":"2015-07-01T15:38:59Z","updated_at":"2015-09-15T07:54:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/lballabio/quantlib/pulls/241/commits","review_comments_url":"https://api.github.com/repos/lballabio/quantlib/pulls/241/comments","review_comment_url":"https://api.github.com/repos/lballabio/quantlib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lballabio/quantlib/issues/241/comments","statuses_url":"https://api.github.com/repos/lballabio/quantlib/statuses/60f1111d94be5ed42f6fd0fa87be9da5565996dc","head":{"label":"gpazmandi:gpazmandi-patch-4","ref":"gpazmandi-patch-4","sha":"60f1111d94be5ed42f6fd0fa87be9da5565996dc","user":{"login":"gpazmandi","id":11535321,"avatar_url":"https://avatars.githubusercontent.com/u/11535321?v=3","gravatar_id":"","url":"https://api.github.com/users/gpazmandi","html_url":"https://github.com/gpazmandi","followers_url":"https://api.github.com/users/gpazmandi/followers","following_url":"https://api.github.com/users/gpazmandi/following{/other_user}","gists_url":"https://api.github.com/users/gpazmandi/gists{/gist_id}","starred_url":"https://api.github.com/users/gpazmandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpazmandi/subscriptions","organizations_url":"https://api.github.com/users/gpazmandi/orgs","repos_url":"https://api.github.com/users/gpazmandi/repos","events_url":"https://api.github.com/users/gpazmandi/events{/privacy}","received_events_url":"https://api.github.com/users/gpazmandi/received_events","type":"User","site_admin":false},"repo":{"id":32452912,"name":"quantlib","full_name":"gpazmandi/quantlib","owner":{"login":"gpazmandi","id":11535321,"avatar_url":"https://avatars.githubusercontent.com/u/11535321?v=3","gravatar_id":"","url":"https://api.github.com/users/gpazmandi","html_url":"https://github.com/gpazmandi","followers_url":"https://api.github.com/users/gpazmandi/followers","following_url":"https://api.github.com/users/gpazmandi/following{/other_user}","gists_url":"https://api.github.com/users/gpazmandi/gists{/gist_id}","starred_url":"https://api.github.com/users/gpazmandi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpazmandi/subscriptions","organizations_url":"https://api.github.com/users/gpazmandi/orgs","repos_url":"https://api.github.com/users/gpazmandi/repos","events_url":"https://api.github.com/users/gpazmandi/events{/privacy}","received_events_url":"https://api.github.com/users/gpazmandi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gpazmandi/quantlib","description":"The QuantLib C++ library and extensions","fork":true,"url":"https://api.github.com/repos/gpazmandi/quantlib","forks_url":"https://api.github.com/repos/gpazmandi/quantlib/forks","keys_url":"https://api.github.com/repos/gpazmandi/quantlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gpazmandi/quantlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gpazmandi/quantlib/teams","hooks_url":"https://api.github.com/repos/gpazmandi/quantlib/hooks","issue_events_url":"https://api.github.com/repos/gpazmandi/quantlib/issues/events{/number}","events_url":"https://api.github.com/repos/gpazmandi/quantlib/events","assignees_url":"https://api.github.com/repos/gpazmandi/quantlib/assignees{/user}","branches_url":"https://api.github.com/repos/gpazmandi/quantlib/branches{/branch}","tags_url":"https://api.github.com/repos/gpazmandi/quantlib/tags","blobs_url":"https://api.github.com/repos/gpazmandi/quantlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gpazmandi/quantlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gpazmandi/quantlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/gpazmandi/quantlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gpazmandi/quantlib/statuses/{sha}","languages_url":"https://api.github.com/repos/gpazmandi/quantlib/languages","stargazers_url":"https://api.github.com/repos/gpazmandi/quantlib/stargazers","contributors_url":"https://api.github.com/repos/gpazmandi/quantlib/contributors","subscribers_url":"https://api.github.com/repos/gpazmandi/quantlib/subscribers","subscription_url":"https://api.github.com/repos/gpazmandi/quantlib/subscription","commits_url":"https://api.github.com/repos/gpazmandi/quantlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/gpazmandi/quantlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/gpazmandi/quantlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/gpazmandi/quantlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/gpazmandi/quantlib/contents/{+path}","compare_url":"https://api.github.com/repos/gpazmandi/quantlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gpazmandi/quantlib/merges","archive_url":"https://api.github.com/repos/gpazmandi/quantlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gpazmandi/quantlib/downloads","issues_url":"https://api.github.com/repos/gpazmandi/quantlib/issues{/number}","pulls_url":"https://api.github.com/repos/gpazmandi/quantlib/pulls{/number}","milestones_url":"https://api.github.com/repos/gpazmandi/quantlib/milestones{/number}","notifications_url":"https://api.github.com/repos/gpazmandi/quantlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gpazmandi/quantlib/labels{/name}","releases_url":"https://api.github.com/repos/gpazmandi/quantlib/releases{/id}","created_at":"2015-03-18T10:42:37Z","updated_at":"2015-04-23T16:43:32Z","pushed_at":"2015-05-18T11:16:18Z","git_url":"git://github.com/gpazmandi/quantlib.git","ssh_url":"git@github.com:gpazmandi/quantlib.git","clone_url":"https://github.com/gpazmandi/quantlib.git","svn_url":"https://github.com/gpazmandi/quantlib","homepage":"http://quantlib.org","size":717856,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"lballabio:master","ref":"master","sha":"dc7eb82856ed3c3c85d622d5dc4cd785a132eb34","user":{"login":"lballabio","id":170560,"avatar_url":"https://avatars.githubusercontent.com/u/170560?v=3","gravatar_id":"","url":"https://api.github.com/users/lballabio","html_url":"https://github.com/lballabio","followers_url":"https://api.github.com/users/lballabio/followers","following_url":"https://api.github.com/users/lballabio/following{/other_user}","gists_url":"https://api.github.com/users/lballabio/gists{/gist_id}","starred_url":"https://api.github.com/users/lballabio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lballabio/subscriptions","organizations_url":"https://api.github.com/users/lballabio/orgs","repos_url":"https://api.github.com/users/lballabio/repos","events_url":"https://api.github.com/users/lballabio/events{/privacy}","received_events_url":"https://api.github.com/users/lballabio/received_events","type":"User","site_admin":false},"repo":{"id":10521431,"name":"quantlib","full_name":"lballabio/quantlib","owner":{"login":"lballabio","id":170560,"avatar_url":"https://avatars.githubusercontent.com/u/170560?v=3","gravatar_id":"","url":"https://api.github.com/users/lballabio","html_url":"https://github.com/lballabio","followers_url":"https://api.github.com/users/lballabio/followers","following_url":"https://api.github.com/users/lballabio/following{/other_user}","gists_url":"https://api.github.com/users/lballabio/gists{/gist_id}","starred_url":"https://api.github.com/users/lballabio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lballabio/subscriptions","organizations_url":"https://api.github.com/users/lballabio/orgs","repos_url":"https://api.github.com/users/lballabio/repos","events_url":"https://api.github.com/users/lballabio/events{/privacy}","received_events_url":"https://api.github.com/users/lballabio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lballabio/quantlib","description":"The QuantLib C++ library and extensions","fork":false,"url":"https://api.github.com/repos/lballabio/quantlib","forks_url":"https://api.github.com/repos/lballabio/quantlib/forks","keys_url":"https://api.github.com/repos/lballabio/quantlib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lballabio/quantlib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lballabio/quantlib/teams","hooks_url":"https://api.github.com/repos/lballabio/quantlib/hooks","issue_events_url":"https://api.github.com/repos/lballabio/quantlib/issues/events{/number}","events_url":"https://api.github.com/repos/lballabio/quantlib/events","assignees_url":"https://api.github.com/repos/lballabio/quantlib/assignees{/user}","branches_url":"https://api.github.com/repos/lballabio/quantlib/branches{/branch}","tags_url":"https://api.github.com/repos/lballabio/quantlib/tags","blobs_url":"https://api.github.com/repos/lballabio/quantlib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lballabio/quantlib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lballabio/quantlib/git/refs{/sha}","trees_url":"https://api.github.com/repos/lballabio/quantlib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lballabio/quantlib/statuses/{sha}","languages_url":"https://api.github.com/repos/lballabio/quantlib/languages","stargazers_url":"https://api.github.com/repos/lballabio/quantlib/stargazers","contributors_url":"https://api.github.com/repos/lballabio/quantlib/contributors","subscribers_url":"https://api.github.com/repos/lballabio/quantlib/subscribers","subscription_url":"https://api.github.com/repos/lballabio/quantlib/subscription","commits_url":"https://api.github.com/repos/lballabio/quantlib/commits{/sha}","git_commits_url":"https://api.github.com/repos/lballabio/quantlib/git/commits{/sha}","comments_url":"https://api.github.com/repos/lballabio/quantlib/comments{/number}","issue_comment_url":"https://api.github.com/repos/lballabio/quantlib/issues/comments{/number}","contents_url":"https://api.github.com/repos/lballabio/quantlib/contents/{+path}","compare_url":"https://api.github.com/repos/lballabio/quantlib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lballabio/quantlib/merges","archive_url":"https://api.github.com/repos/lballabio/quantlib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lballabio/quantlib/downloads","issues_url":"https://api.github.com/repos/lballabio/quantlib/issues{/number}","pulls_url":"https://api.github.com/repos/lballabio/quantlib/pulls{/number}","milestones_url":"https://api.github.com/repos/lballabio/quantlib/milestones{/number}","notifications_url":"https://api.github.com/repos/lballabio/quantlib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lballabio/quantlib/labels{/name}","releases_url":"https://api.github.com/repos/lballabio/quantlib/releases{/id}","created_at":"2013-06-06T07:47:12Z","updated_at":"2015-09-13T14:04:33Z","pushed_at":"2015-09-15T07:54:56Z","git_url":"git://github.com/lballabio/quantlib.git","ssh_url":"git@github.com:lballabio/quantlib.git","clone_url":"https://github.com/lballabio/quantlib.git","svn_url":"https://github.com/lballabio/quantlib","homepage":"http://quantlib.org","size":794897,"stargazers_count":457,"watchers_count":457,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":519,"mirror_url":null,"open_issues_count":55,"forks":519,"open_issues":55,"watchers":457,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lballabio/quantlib/pulls/241"},"html":{"href":"https://github.com/lballabio/quantlib/pull/241"},"issue":{"href":"https://api.github.com/repos/lballabio/quantlib/issues/241"},"comments":{"href":"https://api.github.com/repos/lballabio/quantlib/issues/241/comments"},"review_comments":{"href":"https://api.github.com/repos/lballabio/quantlib/pulls/241/comments"},"review_comment":{"href":"https://api.github.com/repos/lballabio/quantlib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lballabio/quantlib/pulls/241/commits"},"statuses":{"href":"https://api.github.com/repos/lballabio/quantlib/statuses/60f1111d94be5ed42f6fd0fa87be9da5565996dc"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"lballabio","id":170560,"avatar_url":"https://avatars.githubusercontent.com/u/170560?v=3","gravatar_id":"","url":"https://api.github.com/users/lballabio","html_url":"https://github.com/lballabio","followers_url":"https://api.github.com/users/lballabio/followers","following_url":"https://api.github.com/users/lballabio/following{/other_user}","gists_url":"https://api.github.com/users/lballabio/gists{/gist_id}","starred_url":"https://api.github.com/users/lballabio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lballabio/subscriptions","organizations_url":"https://api.github.com/users/lballabio/orgs","repos_url":"https://api.github.com/users/lballabio/repos","events_url":"https://api.github.com/users/lballabio/events{/privacy}","received_events_url":"https://api.github.com/users/lballabio/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":0,"changed_files":3}}