{"action":"created","comment":{"url":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/comments/29327267","id":29327267,"diff_hunk":"@@ -0,0 +1,7 @@\n+On the performance of the Historical Data CSV Fetcher\n+-----------------------------------------------------\n+The size of our data for one currency pair (e.g. EURCHF) is about 75M records or 3.2GB (1 record is about 43 Bytes when saved in an SQLite DB). It takes an average of 10us per record to put it into the DB on my system, i.e. about 750s = 12.5min for one currency pair. Let's make that 15min to account for uncertainty in estimations. That's about 4.3 MB/s of reading, parsing and writing to the DB. So for four currencies it will take about 1h to load them into a persistor with the current system.","path":"report/histdataPerformance.md","position":3,"original_position":3,"commit_id":"e991ed55e9199be39d666bb6add4538de3240b76","original_commit_id":"e991ed55e9199be39d666bb6add4538de3240b76","user":{"login":"merlinND","id":5563370,"avatar_url":"https://avatars.githubusercontent.com/u/5563370?v=3","gravatar_id":"","url":"https://api.github.com/users/merlinND","html_url":"https://github.com/merlinND","followers_url":"https://api.github.com/users/merlinND/followers","following_url":"https://api.github.com/users/merlinND/following{/other_user}","gists_url":"https://api.github.com/users/merlinND/gists{/gist_id}","starred_url":"https://api.github.com/users/merlinND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlinND/subscriptions","organizations_url":"https://api.github.com/users/merlinND/orgs","repos_url":"https://api.github.com/users/merlinND/repos","events_url":"https://api.github.com/users/merlinND/events{/privacy}","received_events_url":"https://api.github.com/users/merlinND/received_events","type":"User","site_admin":false},"body":"\"four currencies\" -> \"four currency pairs\"?","created_at":"2015-04-29T11:25:34Z","updated_at":"2015-04-29T11:25:34Z","html_url":"https://github.com/merlinND/TradingSimulation/pull/22#discussion_r29327267","pull_request_url":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/comments/29327267"},"html":{"href":"https://github.com/merlinND/TradingSimulation/pull/22#discussion_r29327267"},"pull_request":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/22","id":32499441,"html_url":"https://github.com/merlinND/TradingSimulation/pull/22","diff_url":"https://github.com/merlinND/TradingSimulation/pull/22.diff","patch_url":"https://github.com/merlinND/TradingSimulation/pull/22.patch","issue_url":"https://api.github.com/repos/merlinND/TradingSimulation/issues/22","number":22,"state":"open","locked":false,"title":"Persistor for historical Forex Quote data","user":{"login":"merlinND","id":5563370,"avatar_url":"https://avatars.githubusercontent.com/u/5563370?v=3","gravatar_id":"","url":"https://api.github.com/users/merlinND","html_url":"https://github.com/merlinND","followers_url":"https://api.github.com/users/merlinND/followers","following_url":"https://api.github.com/users/merlinND/following{/other_user}","gists_url":"https://api.github.com/users/merlinND/gists{/gist_id}","starred_url":"https://api.github.com/users/merlinND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlinND/subscriptions","organizations_url":"https://api.github.com/users/merlinND/orgs","repos_url":"https://api.github.com/users/merlinND/repos","events_url":"https://api.github.com/users/merlinND/events{/privacy}","received_events_url":"https://api.github.com/users/merlinND/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-02T10:24:10Z","updated_at":"2015-04-29T11:25:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e37e314dbcf1a40aa061b8094b3da578b2ca74b3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/22/commits","review_comments_url":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/22/comments","review_comment_url":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/merlinND/TradingSimulation/issues/22/comments","statuses_url":"https://api.github.com/repos/merlinND/TradingSimulation/statuses/e991ed55e9199be39d666bb6add4538de3240b76","head":{"label":"merlinND:quotepersistor","ref":"quotepersistor","sha":"e991ed55e9199be39d666bb6add4538de3240b76","user":{"login":"merlinND","id":5563370,"avatar_url":"https://avatars.githubusercontent.com/u/5563370?v=3","gravatar_id":"","url":"https://api.github.com/users/merlinND","html_url":"https://github.com/merlinND","followers_url":"https://api.github.com/users/merlinND/followers","following_url":"https://api.github.com/users/merlinND/following{/other_user}","gists_url":"https://api.github.com/users/merlinND/gists{/gist_id}","starred_url":"https://api.github.com/users/merlinND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlinND/subscriptions","organizations_url":"https://api.github.com/users/merlinND/orgs","repos_url":"https://api.github.com/users/merlinND/repos","events_url":"https://api.github.com/users/merlinND/events{/privacy}","received_events_url":"https://api.github.com/users/merlinND/received_events","type":"User","site_admin":false},"repo":{"id":31139958,"name":"TradingSimulation","full_name":"merlinND/TradingSimulation","owner":{"login":"merlinND","id":5563370,"avatar_url":"https://avatars.githubusercontent.com/u/5563370?v=3","gravatar_id":"","url":"https://api.github.com/users/merlinND","html_url":"https://github.com/merlinND","followers_url":"https://api.github.com/users/merlinND/followers","following_url":"https://api.github.com/users/merlinND/following{/other_user}","gists_url":"https://api.github.com/users/merlinND/gists{/gist_id}","starred_url":"https://api.github.com/users/merlinND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlinND/subscriptions","organizations_url":"https://api.github.com/users/merlinND/orgs","repos_url":"https://api.github.com/users/merlinND/repos","events_url":"https://api.github.com/users/merlinND/events{/privacy}","received_events_url":"https://api.github.com/users/merlinND/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/merlinND/TradingSimulation","description":"TradingSimulation is a modular framework designed for back-testing trading strategies.","fork":true,"url":"https://api.github.com/repos/merlinND/TradingSimulation","forks_url":"https://api.github.com/repos/merlinND/TradingSimulation/forks","keys_url":"https://api.github.com/repos/merlinND/TradingSimulation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/merlinND/TradingSimulation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/merlinND/TradingSimulation/teams","hooks_url":"https://api.github.com/repos/merlinND/TradingSimulation/hooks","issue_events_url":"https://api.github.com/repos/merlinND/TradingSimulation/issues/events{/number}","events_url":"https://api.github.com/repos/merlinND/TradingSimulation/events","assignees_url":"https://api.github.com/repos/merlinND/TradingSimulation/assignees{/user}","branches_url":"https://api.github.com/repos/merlinND/TradingSimulation/branches{/branch}","tags_url":"https://api.github.com/repos/merlinND/TradingSimulation/tags","blobs_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/refs{/sha}","trees_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/merlinND/TradingSimulation/statuses/{sha}","languages_url":"https://api.github.com/repos/merlinND/TradingSimulation/languages","stargazers_url":"https://api.github.com/repos/merlinND/TradingSimulation/stargazers","contributors_url":"https://api.github.com/repos/merlinND/TradingSimulation/contributors","subscribers_url":"https://api.github.com/repos/merlinND/TradingSimulation/subscribers","subscription_url":"https://api.github.com/repos/merlinND/TradingSimulation/subscription","commits_url":"https://api.github.com/repos/merlinND/TradingSimulation/commits{/sha}","git_commits_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/commits{/sha}","comments_url":"https://api.github.com/repos/merlinND/TradingSimulation/comments{/number}","issue_comment_url":"https://api.github.com/repos/merlinND/TradingSimulation/issues/comments{/number}","contents_url":"https://api.github.com/repos/merlinND/TradingSimulation/contents/{+path}","compare_url":"https://api.github.com/repos/merlinND/TradingSimulation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/merlinND/TradingSimulation/merges","archive_url":"https://api.github.com/repos/merlinND/TradingSimulation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/merlinND/TradingSimulation/downloads","issues_url":"https://api.github.com/repos/merlinND/TradingSimulation/issues{/number}","pulls_url":"https://api.github.com/repos/merlinND/TradingSimulation/pulls{/number}","milestones_url":"https://api.github.com/repos/merlinND/TradingSimulation/milestones{/number}","notifications_url":"https://api.github.com/repos/merlinND/TradingSimulation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/merlinND/TradingSimulation/labels{/name}","releases_url":"https://api.github.com/repos/merlinND/TradingSimulation/releases{/id}","created_at":"2015-02-21T20:34:13Z","updated_at":"2015-04-29T09:45:09Z","pushed_at":"2015-04-29T09:49:08Z","git_url":"git://github.com/merlinND/TradingSimulation.git","ssh_url":"git@github.com:merlinND/TradingSimulation.git","clone_url":"https://github.com/merlinND/TradingSimulation.git","svn_url":"https://github.com/merlinND/TradingSimulation","homepage":"","size":4700,"stargazers_count":2,"watchers_count":2,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":2,"default_branch":"master"}},"base":{"label":"merlinND:master","ref":"master","sha":"efe0cf29cd5f070f972524955d9a4750de79f093","user":{"login":"merlinND","id":5563370,"avatar_url":"https://avatars.githubusercontent.com/u/5563370?v=3","gravatar_id":"","url":"https://api.github.com/users/merlinND","html_url":"https://github.com/merlinND","followers_url":"https://api.github.com/users/merlinND/followers","following_url":"https://api.github.com/users/merlinND/following{/other_user}","gists_url":"https://api.github.com/users/merlinND/gists{/gist_id}","starred_url":"https://api.github.com/users/merlinND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlinND/subscriptions","organizations_url":"https://api.github.com/users/merlinND/orgs","repos_url":"https://api.github.com/users/merlinND/repos","events_url":"https://api.github.com/users/merlinND/events{/privacy}","received_events_url":"https://api.github.com/users/merlinND/received_events","type":"User","site_admin":false},"repo":{"id":31139958,"name":"TradingSimulation","full_name":"merlinND/TradingSimulation","owner":{"login":"merlinND","id":5563370,"avatar_url":"https://avatars.githubusercontent.com/u/5563370?v=3","gravatar_id":"","url":"https://api.github.com/users/merlinND","html_url":"https://github.com/merlinND","followers_url":"https://api.github.com/users/merlinND/followers","following_url":"https://api.github.com/users/merlinND/following{/other_user}","gists_url":"https://api.github.com/users/merlinND/gists{/gist_id}","starred_url":"https://api.github.com/users/merlinND/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merlinND/subscriptions","organizations_url":"https://api.github.com/users/merlinND/orgs","repos_url":"https://api.github.com/users/merlinND/repos","events_url":"https://api.github.com/users/merlinND/events{/privacy}","received_events_url":"https://api.github.com/users/merlinND/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/merlinND/TradingSimulation","description":"TradingSimulation is a modular framework designed for back-testing trading strategies.","fork":true,"url":"https://api.github.com/repos/merlinND/TradingSimulation","forks_url":"https://api.github.com/repos/merlinND/TradingSimulation/forks","keys_url":"https://api.github.com/repos/merlinND/TradingSimulation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/merlinND/TradingSimulation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/merlinND/TradingSimulation/teams","hooks_url":"https://api.github.com/repos/merlinND/TradingSimulation/hooks","issue_events_url":"https://api.github.com/repos/merlinND/TradingSimulation/issues/events{/number}","events_url":"https://api.github.com/repos/merlinND/TradingSimulation/events","assignees_url":"https://api.github.com/repos/merlinND/TradingSimulation/assignees{/user}","branches_url":"https://api.github.com/repos/merlinND/TradingSimulation/branches{/branch}","tags_url":"https://api.github.com/repos/merlinND/TradingSimulation/tags","blobs_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/refs{/sha}","trees_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/merlinND/TradingSimulation/statuses/{sha}","languages_url":"https://api.github.com/repos/merlinND/TradingSimulation/languages","stargazers_url":"https://api.github.com/repos/merlinND/TradingSimulation/stargazers","contributors_url":"https://api.github.com/repos/merlinND/TradingSimulation/contributors","subscribers_url":"https://api.github.com/repos/merlinND/TradingSimulation/subscribers","subscription_url":"https://api.github.com/repos/merlinND/TradingSimulation/subscription","commits_url":"https://api.github.com/repos/merlinND/TradingSimulation/commits{/sha}","git_commits_url":"https://api.github.com/repos/merlinND/TradingSimulation/git/commits{/sha}","comments_url":"https://api.github.com/repos/merlinND/TradingSimulation/comments{/number}","issue_comment_url":"https://api.github.com/repos/merlinND/TradingSimulation/issues/comments{/number}","contents_url":"https://api.github.com/repos/merlinND/TradingSimulation/contents/{+path}","compare_url":"https://api.github.com/repos/merlinND/TradingSimulation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/merlinND/TradingSimulation/merges","archive_url":"https://api.github.com/repos/merlinND/TradingSimulation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/merlinND/TradingSimulation/downloads","issues_url":"https://api.github.com/repos/merlinND/TradingSimulation/issues{/number}","pulls_url":"https://api.github.com/repos/merlinND/TradingSimulation/pulls{/number}","milestones_url":"https://api.github.com/repos/merlinND/TradingSimulation/milestones{/number}","notifications_url":"https://api.github.com/repos/merlinND/TradingSimulation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/merlinND/TradingSimulation/labels{/name}","releases_url":"https://api.github.com/repos/merlinND/TradingSimulation/releases{/id}","created_at":"2015-02-21T20:34:13Z","updated_at":"2015-04-29T09:45:09Z","pushed_at":"2015-04-29T09:49:08Z","git_url":"git://github.com/merlinND/TradingSimulation.git","ssh_url":"git@github.com:merlinND/TradingSimulation.git","clone_url":"https://github.com/merlinND/TradingSimulation.git","svn_url":"https://github.com/merlinND/TradingSimulation","homepage":"","size":4700,"stargazers_count":2,"watchers_count":2,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/22"},"html":{"href":"https://github.com/merlinND/TradingSimulation/pull/22"},"issue":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/issues/22"},"comments":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/merlinND/TradingSimulation/statuses/e991ed55e9199be39d666bb6add4538de3240b76"}}}}