{"action":"created","issue":{"url":"https://api.github.com/repos/rosspalmer/bitQuant/issues/4","labels_url":"https://api.github.com/repos/rosspalmer/bitQuant/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/rosspalmer/bitQuant/issues/4/comments","events_url":"https://api.github.com/repos/rosspalmer/bitQuant/issues/4/events","html_url":"https://github.com/rosspalmer/bitQuant/issues/4","id":60076651,"number":4,"title":"Adding Coinbase exchange support","user":{"login":"multidis","id":5619104,"avatar_url":"https://avatars.githubusercontent.com/u/5619104?v=3","gravatar_id":"","url":"https://api.github.com/users/multidis","html_url":"https://github.com/multidis","followers_url":"https://api.github.com/users/multidis/followers","following_url":"https://api.github.com/users/multidis/following{/other_user}","gists_url":"https://api.github.com/users/multidis/gists{/gist_id}","starred_url":"https://api.github.com/users/multidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multidis/subscriptions","organizations_url":"https://api.github.com/users/multidis/orgs","repos_url":"https://api.github.com/users/multidis/repos","events_url":"https://api.github.com/users/multidis/events{/privacy}","received_events_url":"https://api.github.com/users/multidis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rosspalmer/bitQuant/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"rosspalmer","id":7834350,"avatar_url":"https://avatars.githubusercontent.com/u/7834350?v=3","gravatar_id":"","url":"https://api.github.com/users/rosspalmer","html_url":"https://github.com/rosspalmer","followers_url":"https://api.github.com/users/rosspalmer/followers","following_url":"https://api.github.com/users/rosspalmer/following{/other_user}","gists_url":"https://api.github.com/users/rosspalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/rosspalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosspalmer/subscriptions","organizations_url":"https://api.github.com/users/rosspalmer/orgs","repos_url":"https://api.github.com/users/rosspalmer/repos","events_url":"https://api.github.com/users/rosspalmer/events{/privacy}","received_events_url":"https://api.github.com/users/rosspalmer/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-03-06T09:09:44Z","updated_at":"2015-03-09T11:15:50Z","closed_at":"2015-03-09T03:50:39Z","body":"[Coinbase exchange](https://exchange.coinbase.com/) has been gaining trade volume and by now frequently exceeds bitstamp volume. Some difficulties when adding it to `api.py`:\r\n\r\n* Trades API [response](https://api.exchange.coinbase.com/products/BTC-USD/trades) lists \"size\" instead of \"amount\", therefore the column is not picked up by the current code;\r\n* [Pagination](https://docs.exchange.coinbase.com/#pagination) requires a different logic for implementing the number of latest trades limit.\r\n\r\nWould be great to have the former solved by allowing an alternative column name to be specified for \"amount\" to accommodate the Conbase API. As far as the latter, it is not a problem if querying frequently but with less frequent calls may be an issue (trading peaks at over 100 trades/min at times)."},"comment":{"url":"https://api.github.com/repos/rosspalmer/bitQuant/issues/comments/77835931","html_url":"https://github.com/rosspalmer/bitQuant/issues/4#issuecomment-77835931","issue_url":"https://api.github.com/repos/rosspalmer/bitQuant/issues/4","id":77835931,"user":{"login":"multidis","id":5619104,"avatar_url":"https://avatars.githubusercontent.com/u/5619104?v=3","gravatar_id":"","url":"https://api.github.com/users/multidis","html_url":"https://github.com/multidis","followers_url":"https://api.github.com/users/multidis/followers","following_url":"https://api.github.com/users/multidis/following{/other_user}","gists_url":"https://api.github.com/users/multidis/gists{/gist_id}","starred_url":"https://api.github.com/users/multidis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/multidis/subscriptions","organizations_url":"https://api.github.com/users/multidis/orgs","repos_url":"https://api.github.com/users/multidis/repos","events_url":"https://api.github.com/users/multidis/events{/privacy}","received_events_url":"https://api.github.com/users/multidis/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T11:15:50Z","updated_at":"2015-03-09T11:15:50Z","body":"Coinbase supported, great!\r\nExchanges limit their API access frequency to around 1 request per sec. I wonder if querying coinbase trade history page-by-page may exceed this limit for large queries and get the IP banned? Perhaps a limitation on the API call frequency would be good for paginated requests?"}}