{"action":"closed","number":225,"pull_request":{"url":"https://api.github.com/repos/QuantConnect/Lean/pulls/225","id":53626597,"html_url":"https://github.com/QuantConnect/Lean/pull/225","diff_url":"https://github.com/QuantConnect/Lean/pull/225.diff","patch_url":"https://github.com/QuantConnect/Lean/pull/225.patch","issue_url":"https://api.github.com/repos/QuantConnect/Lean/issues/225","number":225,"state":"closed","locked":false,"title":"Oanda DataQueueHandler streams no data with more than one Subscribe request","user":{"login":"StefanoRaggi","id":7236689,"avatar_url":"https://avatars.githubusercontent.com/u/7236689?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanoRaggi","html_url":"https://github.com/StefanoRaggi","followers_url":"https://api.github.com/users/StefanoRaggi/followers","following_url":"https://api.github.com/users/StefanoRaggi/following{/other_user}","gists_url":"https://api.github.com/users/StefanoRaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoRaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoRaggi/subscriptions","organizations_url":"https://api.github.com/users/StefanoRaggi/orgs","repos_url":"https://api.github.com/users/StefanoRaggi/repos","events_url":"https://api.github.com/users/StefanoRaggi/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoRaggi/received_events","type":"User","site_admin":false},"body":"Oanda only supports a maximum of two streaming rates sessions per token so we are reusing the same session for all subscriptions. In the case of multiple symbols to subscribe, on subsequent requests we have to close the previous session and start a new one, so requests must be synchronous.","created_at":"2015-12-14T21:45:45Z","updated_at":"2015-12-15T00:22:31Z","closed_at":"2015-12-15T00:22:31Z","merged_at":null,"merge_commit_sha":"8b9520ac594672f4539f64b6a7aaf1654f71961e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/QuantConnect/Lean/pulls/225/commits","review_comments_url":"https://api.github.com/repos/QuantConnect/Lean/pulls/225/comments","review_comment_url":"https://api.github.com/repos/QuantConnect/Lean/pulls/comments{/number}","comments_url":"https://api.github.com/repos/QuantConnect/Lean/issues/225/comments","statuses_url":"https://api.github.com/repos/QuantConnect/Lean/statuses/4e8c92b326ea88687df1d81aa6f4df2d175dfb56","head":{"label":"StefanoRaggi:oanda-bug-multi-subscribe","ref":"oanda-bug-multi-subscribe","sha":"4e8c92b326ea88687df1d81aa6f4df2d175dfb56","user":{"login":"StefanoRaggi","id":7236689,"avatar_url":"https://avatars.githubusercontent.com/u/7236689?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanoRaggi","html_url":"https://github.com/StefanoRaggi","followers_url":"https://api.github.com/users/StefanoRaggi/followers","following_url":"https://api.github.com/users/StefanoRaggi/following{/other_user}","gists_url":"https://api.github.com/users/StefanoRaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoRaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoRaggi/subscriptions","organizations_url":"https://api.github.com/users/StefanoRaggi/orgs","repos_url":"https://api.github.com/users/StefanoRaggi/repos","events_url":"https://api.github.com/users/StefanoRaggi/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoRaggi/received_events","type":"User","site_admin":false},"repo":{"id":36553432,"name":"Lean","full_name":"StefanoRaggi/Lean","owner":{"login":"StefanoRaggi","id":7236689,"avatar_url":"https://avatars.githubusercontent.com/u/7236689?v=3","gravatar_id":"","url":"https://api.github.com/users/StefanoRaggi","html_url":"https://github.com/StefanoRaggi","followers_url":"https://api.github.com/users/StefanoRaggi/followers","following_url":"https://api.github.com/users/StefanoRaggi/following{/other_user}","gists_url":"https://api.github.com/users/StefanoRaggi/gists{/gist_id}","starred_url":"https://api.github.com/users/StefanoRaggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StefanoRaggi/subscriptions","organizations_url":"https://api.github.com/users/StefanoRaggi/orgs","repos_url":"https://api.github.com/users/StefanoRaggi/repos","events_url":"https://api.github.com/users/StefanoRaggi/events{/privacy}","received_events_url":"https://api.github.com/users/StefanoRaggi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StefanoRaggi/Lean","description":"Lean Algorithmic Trading Engine by QuantConnect","fork":true,"url":"https://api.github.com/repos/StefanoRaggi/Lean","forks_url":"https://api.github.com/repos/StefanoRaggi/Lean/forks","keys_url":"https://api.github.com/repos/StefanoRaggi/Lean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StefanoRaggi/Lean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StefanoRaggi/Lean/teams","hooks_url":"https://api.github.com/repos/StefanoRaggi/Lean/hooks","issue_events_url":"https://api.github.com/repos/StefanoRaggi/Lean/issues/events{/number}","events_url":"https://api.github.com/repos/StefanoRaggi/Lean/events","assignees_url":"https://api.github.com/repos/StefanoRaggi/Lean/assignees{/user}","branches_url":"https://api.github.com/repos/StefanoRaggi/Lean/branches{/branch}","tags_url":"https://api.github.com/repos/StefanoRaggi/Lean/tags","blobs_url":"https://api.github.com/repos/StefanoRaggi/Lean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StefanoRaggi/Lean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StefanoRaggi/Lean/git/refs{/sha}","trees_url":"https://api.github.com/repos/StefanoRaggi/Lean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StefanoRaggi/Lean/statuses/{sha}","languages_url":"https://api.github.com/repos/StefanoRaggi/Lean/languages","stargazers_url":"https://api.github.com/repos/StefanoRaggi/Lean/stargazers","contributors_url":"https://api.github.com/repos/StefanoRaggi/Lean/contributors","subscribers_url":"https://api.github.com/repos/StefanoRaggi/Lean/subscribers","subscription_url":"https://api.github.com/repos/StefanoRaggi/Lean/subscription","commits_url":"https://api.github.com/repos/StefanoRaggi/Lean/commits{/sha}","git_commits_url":"https://api.github.com/repos/StefanoRaggi/Lean/git/commits{/sha}","comments_url":"https://api.github.com/repos/StefanoRaggi/Lean/comments{/number}","issue_comment_url":"https://api.github.com/repos/StefanoRaggi/Lean/issues/comments{/number}","contents_url":"https://api.github.com/repos/StefanoRaggi/Lean/contents/{+path}","compare_url":"https://api.github.com/repos/StefanoRaggi/Lean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StefanoRaggi/Lean/merges","archive_url":"https://api.github.com/repos/StefanoRaggi/Lean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StefanoRaggi/Lean/downloads","issues_url":"https://api.github.com/repos/StefanoRaggi/Lean/issues{/number}","pulls_url":"https://api.github.com/repos/StefanoRaggi/Lean/pulls{/number}","milestones_url":"https://api.github.com/repos/StefanoRaggi/Lean/milestones{/number}","notifications_url":"https://api.github.com/repos/StefanoRaggi/Lean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StefanoRaggi/Lean/labels{/name}","releases_url":"https://api.github.com/repos/StefanoRaggi/Lean/releases{/id}","created_at":"2015-05-30T10:20:39Z","updated_at":"2015-10-24T16:53:28Z","pushed_at":"2015-12-14T21:44:28Z","git_url":"git://github.com/StefanoRaggi/Lean.git","ssh_url":"git@github.com:StefanoRaggi/Lean.git","clone_url":"https://github.com/StefanoRaggi/Lean.git","svn_url":"https://github.com/StefanoRaggi/Lean","homepage":"https://lean.quantconnect.com","size":73474,"stargazers_count":1,"watchers_count":1,"language":"C#","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":1,"default_branch":"master"}},"base":{"label":"QuantConnect:master","ref":"master","sha":"ee8bb45db2eba908d1aa88e4741b2fd63dc673a8","user":{"login":"QuantConnect","id":3912814,"avatar_url":"https://avatars.githubusercontent.com/u/3912814?v=3","gravatar_id":"","url":"https://api.github.com/users/QuantConnect","html_url":"https://github.com/QuantConnect","followers_url":"https://api.github.com/users/QuantConnect/followers","following_url":"https://api.github.com/users/QuantConnect/following{/other_user}","gists_url":"https://api.github.com/users/QuantConnect/gists{/gist_id}","starred_url":"https://api.github.com/users/QuantConnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuantConnect/subscriptions","organizations_url":"https://api.github.com/users/QuantConnect/orgs","repos_url":"https://api.github.com/users/QuantConnect/repos","events_url":"https://api.github.com/users/QuantConnect/events{/privacy}","received_events_url":"https://api.github.com/users/QuantConnect/received_events","type":"Organization","site_admin":false},"repo":{"id":27251463,"name":"Lean","full_name":"QuantConnect/Lean","owner":{"login":"QuantConnect","id":3912814,"avatar_url":"https://avatars.githubusercontent.com/u/3912814?v=3","gravatar_id":"","url":"https://api.github.com/users/QuantConnect","html_url":"https://github.com/QuantConnect","followers_url":"https://api.github.com/users/QuantConnect/followers","following_url":"https://api.github.com/users/QuantConnect/following{/other_user}","gists_url":"https://api.github.com/users/QuantConnect/gists{/gist_id}","starred_url":"https://api.github.com/users/QuantConnect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QuantConnect/subscriptions","organizations_url":"https://api.github.com/users/QuantConnect/orgs","repos_url":"https://api.github.com/users/QuantConnect/repos","events_url":"https://api.github.com/users/QuantConnect/events{/privacy}","received_events_url":"https://api.github.com/users/QuantConnect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/QuantConnect/Lean","description":"Lean Algorithmic Trading Engine by QuantConnect (C#, Python, F#, VB, Java)","fork":false,"url":"https://api.github.com/repos/QuantConnect/Lean","forks_url":"https://api.github.com/repos/QuantConnect/Lean/forks","keys_url":"https://api.github.com/repos/QuantConnect/Lean/keys{/key_id}","collaborators_url":"https://api.github.com/repos/QuantConnect/Lean/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/QuantConnect/Lean/teams","hooks_url":"https://api.github.com/repos/QuantConnect/Lean/hooks","issue_events_url":"https://api.github.com/repos/QuantConnect/Lean/issues/events{/number}","events_url":"https://api.github.com/repos/QuantConnect/Lean/events","assignees_url":"https://api.github.com/repos/QuantConnect/Lean/assignees{/user}","branches_url":"https://api.github.com/repos/QuantConnect/Lean/branches{/branch}","tags_url":"https://api.github.com/repos/QuantConnect/Lean/tags","blobs_url":"https://api.github.com/repos/QuantConnect/Lean/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/QuantConnect/Lean/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/QuantConnect/Lean/git/refs{/sha}","trees_url":"https://api.github.com/repos/QuantConnect/Lean/git/trees{/sha}","statuses_url":"https://api.github.com/repos/QuantConnect/Lean/statuses/{sha}","languages_url":"https://api.github.com/repos/QuantConnect/Lean/languages","stargazers_url":"https://api.github.com/repos/QuantConnect/Lean/stargazers","contributors_url":"https://api.github.com/repos/QuantConnect/Lean/contributors","subscribers_url":"https://api.github.com/repos/QuantConnect/Lean/subscribers","subscription_url":"https://api.github.com/repos/QuantConnect/Lean/subscription","commits_url":"https://api.github.com/repos/QuantConnect/Lean/commits{/sha}","git_commits_url":"https://api.github.com/repos/QuantConnect/Lean/git/commits{/sha}","comments_url":"https://api.github.com/repos/QuantConnect/Lean/comments{/number}","issue_comment_url":"https://api.github.com/repos/QuantConnect/Lean/issues/comments{/number}","contents_url":"https://api.github.com/repos/QuantConnect/Lean/contents/{+path}","compare_url":"https://api.github.com/repos/QuantConnect/Lean/compare/{base}...{head}","merges_url":"https://api.github.com/repos/QuantConnect/Lean/merges","archive_url":"https://api.github.com/repos/QuantConnect/Lean/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/QuantConnect/Lean/downloads","issues_url":"https://api.github.com/repos/QuantConnect/Lean/issues{/number}","pulls_url":"https://api.github.com/repos/QuantConnect/Lean/pulls{/number}","milestones_url":"https://api.github.com/repos/QuantConnect/Lean/milestones{/number}","notifications_url":"https://api.github.com/repos/QuantConnect/Lean/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/QuantConnect/Lean/labels{/name}","releases_url":"https://api.github.com/repos/QuantConnect/Lean/releases{/id}","created_at":"2014-11-28T04:20:19Z","updated_at":"2015-12-14T07:58:54Z","pushed_at":"2015-12-15T00:22:17Z","git_url":"git://github.com/QuantConnect/Lean.git","ssh_url":"git@github.com:QuantConnect/Lean.git","clone_url":"https://github.com/QuantConnect/Lean.git","svn_url":"https://github.com/QuantConnect/Lean","homepage":"https://lean.quantconnect.com","size":75732,"stargazers_count":341,"watchers_count":341,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":233,"mirror_url":null,"open_issues_count":30,"forks":233,"open_issues":30,"watchers":341,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/QuantConnect/Lean/pulls/225"},"html":{"href":"https://github.com/QuantConnect/Lean/pull/225"},"issue":{"href":"https://api.github.com/repos/QuantConnect/Lean/issues/225"},"comments":{"href":"https://api.github.com/repos/QuantConnect/Lean/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/QuantConnect/Lean/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/QuantConnect/Lean/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/QuantConnect/Lean/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/QuantConnect/Lean/statuses/4e8c92b326ea88687df1d81aa6f4df2d175dfb56"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":11,"deletions":15,"changed_files":5}}