{"action":"created","issue":{"url":"https://api.github.com/repos/ccxt/ccxt/issues/2074","repository_url":"https://api.github.com/repos/ccxt/ccxt","labels_url":"https://api.github.com/repos/ccxt/ccxt/issues/2074/labels{/name}","comments_url":"https://api.github.com/repos/ccxt/ccxt/issues/2074/comments","events_url":"https://api.github.com/repos/ccxt/ccxt/issues/2074/events","html_url":"https://github.com/ccxt/ccxt/issues/2074","id":300682356,"number":2074,"title":"AttributeError: 'virwox' object has no attribute 'symbol'","user":{"login":"theolux","id":30986194,"avatar_url":"https://avatars1.githubusercontent.com/u/30986194?v=4","gravatar_id":"","url":"https://api.github.com/users/theolux","html_url":"https://github.com/theolux","followers_url":"https://api.github.com/users/theolux/followers","following_url":"https://api.github.com/users/theolux/following{/other_user}","gists_url":"https://api.github.com/users/theolux/gists{/gist_id}","starred_url":"https://api.github.com/users/theolux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theolux/subscriptions","organizations_url":"https://api.github.com/users/theolux/orgs","repos_url":"https://api.github.com/users/theolux/repos","events_url":"https://api.github.com/users/theolux/events{/privacy}","received_events_url":"https://api.github.com/users/theolux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"kroitor","id":1294454,"avatar_url":"https://avatars3.githubusercontent.com/u/1294454?v=4","gravatar_id":"","url":"https://api.github.com/users/kroitor","html_url":"https://github.com/kroitor","followers_url":"https://api.github.com/users/kroitor/followers","following_url":"https://api.github.com/users/kroitor/following{/other_user}","gists_url":"https://api.github.com/users/kroitor/gists{/gist_id}","starred_url":"https://api.github.com/users/kroitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroitor/subscriptions","organizations_url":"https://api.github.com/users/kroitor/orgs","repos_url":"https://api.github.com/users/kroitor/repos","events_url":"https://api.github.com/users/kroitor/events{/privacy}","received_events_url":"https://api.github.com/users/kroitor/received_events","type":"User","site_admin":false},"assignees":[{"login":"kroitor","id":1294454,"avatar_url":"https://avatars3.githubusercontent.com/u/1294454?v=4","gravatar_id":"","url":"https://api.github.com/users/kroitor","html_url":"https://github.com/kroitor","followers_url":"https://api.github.com/users/kroitor/followers","following_url":"https://api.github.com/users/kroitor/following{/other_user}","gists_url":"https://api.github.com/users/kroitor/gists{/gist_id}","starred_url":"https://api.github.com/users/kroitor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kroitor/subscriptions","organizations_url":"https://api.github.com/users/kroitor/orgs","repos_url":"https://api.github.com/users/kroitor/repos","events_url":"https://api.github.com/users/kroitor/events{/privacy}","received_events_url":"https://api.github.com/users/kroitor/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-02-27T15:43:22Z","updated_at":"2018-02-28T03:54:18Z","closed_at":"2018-02-28T00:15:23Z","author_association":"NONE","body":"    OS: W10\r\n    Programming Language version: Python 3.6.4\r\n    CCXT version: 1.10.1237\r\n    Exchange: Virwox\r\n    Method: createLimitBuyOrder(symbol, amount, price)\r\n\r\nGetting AttributeError: 'virwox' object has no attribute 'symbol' when trying to place an order."},"comment":{"url":"https://api.github.com/repos/ccxt/ccxt/issues/comments/369113301","html_url":"https://github.com/ccxt/ccxt/issues/2074#issuecomment-369113301","issue_url":"https://api.github.com/repos/ccxt/ccxt/issues/2074","id":369113301,"user":{"login":"theolux","id":30986194,"avatar_url":"https://avatars1.githubusercontent.com/u/30986194?v=4","gravatar_id":"","url":"https://api.github.com/users/theolux","html_url":"https://github.com/theolux","followers_url":"https://api.github.com/users/theolux/followers","following_url":"https://api.github.com/users/theolux/following{/other_user}","gists_url":"https://api.github.com/users/theolux/gists{/gist_id}","starred_url":"https://api.github.com/users/theolux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theolux/subscriptions","organizations_url":"https://api.github.com/users/theolux/orgs","repos_url":"https://api.github.com/users/theolux/repos","events_url":"https://api.github.com/users/theolux/events{/privacy}","received_events_url":"https://api.github.com/users/theolux/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T03:54:18Z","updated_at":"2018-02-28T03:54:18Z","author_association":"NONE","body":"The method:\r\n`virwox.createLimitBuyOrder ('BTC/SLL', AMOUNT, PRICE)`\r\nThe output:\r\n```\r\nRequest: POST https://www.virwox.com/api/trading.php {'Content-Type': 'application/json', 'User-Agent': 'python-requests/2.18.4', 'Accept-Encoding': 'gzip, deflate'} {\"method\":\"placeOrder\",\"params\":{\"key\":\"KEY\",\"user\":\"USER\",\"pass\":\"PASS\",\"instrument\":\"11\",\"orderType\":\"BUY\",\"amount\":0.001,\"price\":\"2700775.0\"},\"id\":1519789163}\r\n\r\nResponse: POST https://www.virwox.com/api/trading.php 200 {'Server': 'nginx', 'Date': 'Wed, 28 Feb 2018 03:39:26 GMT', 'Content-Type': 'text/html; charset=UTF-8', 'Content-Length': '76', 'Connection': 'keep-alive', 'X-Rate-Limit-Minute': '60', 'X-Rate-Remaining-Minute': '55', 'X-Rate-Reset-Minute': '5', 'X-Rate-Limit-Hour': '600', 'X-Rate-Remaining-Hour': '595', 'X-Rate-Reset-Hour': '30', 'X-Rate-Cost': '5', 'Access-Control-Allow-Origin': '*', 'Strict-Transport-Security': 'max-age=15552000'} {\"result\":{\"errorCode\":\"NO_SUCH_INSTRUMENT\"},\"error\":null,\"id\":\"1519789163\"}\r\nTraceback (most recent call last):\r\n  File \"C:\\Users\\USER\\Desktop\\ccxt\\virwox.py\", line 38, in <module>\r\n    virwox.createLimitBuyOrder ('BTC/SLL', AMOUNT, PRICE)\r\n  File \"C:\\Users\\USER\\Desktop\\ccxt\\ccxt\\base\\exchange.py\", line 1151, in create_limit_buy_order\r\n    return self.create_order(symbol, 'limit', 'buy', *args)\r\n  File \"C:\\Users\\USER\\Desktop\\ccxt\\ccxt\\virwox.py\", line 219, in create_order\r\n    response = self.privatePostPlaceOrder(self.extend(order, params))\r\n  File \"C:\\Users\\USER\\Desktop\\ccxt\\ccxt\\base\\exchange.py\", line 291, in request\r\n    return self.fetch2(path, api, method, params, headers, body)\r\n  File \"C:\\Users\\USER\\Desktop\\ccxt\\ccxt\\base\\exchange.py\", line 288, in fetch2\r\n    return self.fetch(request['url'], request['method'], request['headers'], request['body'])\r\n  File \"C:\\Users\\USER\\Desktop\\ccxt\\ccxt\\base\\exchange.py\", line 368, in fetch\r\n    self.handle_errors(response.status_code, response.reason, url, method, None, self.last_http_response)\r\n  File \"C:\\Users\\USER\\Desktop\\ccxt\\ccxt\\virwox.py\", line 262, in handle_errors\r\n    raise ExchangeError(self.id + ' error returned: ' + body)\r\nccxt.base.errors.ExchangeError: virwox error returned: {\"result\":{\"errorCode\":\"NO_SUCH_INSTRUMENT\"},\"error\":null,\"id\":\"1519789163\"}\r\n```"}}
{"actor":{"display_login":"theolux"}}