{"action":"created","issue":{"url":"https://api.github.com/repos/IlyaKrotov/BitMEX-simple-trading-robot/issues/3","repository_url":"https://api.github.com/repos/IlyaKrotov/BitMEX-simple-trading-robot","labels_url":"https://api.github.com/repos/IlyaKrotov/BitMEX-simple-trading-robot/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/IlyaKrotov/BitMEX-simple-trading-robot/issues/3/comments","events_url":"https://api.github.com/repos/IlyaKrotov/BitMEX-simple-trading-robot/issues/3/events","html_url":"https://github.com/IlyaKrotov/BitMEX-simple-trading-robot/issues/3","id":350996132,"node_id":"MDU6SXNzdWUzNTA5OTYxMzI=","number":3,"title":"bitmex is not defined","user":{"login":"KregH","id":23249103,"node_id":"MDQ6VXNlcjIzMjQ5MTAz","avatar_url":"https://avatars0.githubusercontent.com/u/23249103?v=4","gravatar_id":"","url":"https://api.github.com/users/KregH","html_url":"https://github.com/KregH","followers_url":"https://api.github.com/users/KregH/followers","following_url":"https://api.github.com/users/KregH/following{/other_user}","gists_url":"https://api.github.com/users/KregH/gists{/gist_id}","starred_url":"https://api.github.com/users/KregH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KregH/subscriptions","organizations_url":"https://api.github.com/users/KregH/orgs","repos_url":"https://api.github.com/users/KregH/repos","events_url":"https://api.github.com/users/KregH/events{/privacy}","received_events_url":"https://api.github.com/users/KregH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-15T22:56:19Z","updated_at":"2018-08-16T07:07:08Z","closed_at":null,"author_association":"NONE","body":"Hello, thank you for developing this. I am trying to run the notebook file but when ever I run it I get:\r\n\r\n---------------------------------------------------------------------------\r\nNameError                                 Traceback (most recent call last)\r\n<ipython-input-5-4829127bd5e0> in <module>()\r\n----> 1 client = bitmex.bitmex(\r\n      2     test=True,\r\n      3     api_key=\"\",\r\n      4     api_secret=\"\"\r\n      5 )\r\n\r\nNameError: name 'bitmex' is not defined\r\n\r\n\r\n\r\nI am new to python and I got no idea of how to fix this any help?"},"comment":{"url":"https://api.github.com/repos/IlyaKrotov/BitMEX-simple-trading-robot/issues/comments/413447666","html_url":"https://github.com/IlyaKrotov/BitMEX-simple-trading-robot/issues/3#issuecomment-413447666","issue_url":"https://api.github.com/repos/IlyaKrotov/BitMEX-simple-trading-robot/issues/3","id":413447666,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzQ0NzY2Ng==","user":{"login":"IlyaKrotov","id":9049264,"node_id":"MDQ6VXNlcjkwNDkyNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/9049264?v=4","gravatar_id":"","url":"https://api.github.com/users/IlyaKrotov","html_url":"https://github.com/IlyaKrotov","followers_url":"https://api.github.com/users/IlyaKrotov/followers","following_url":"https://api.github.com/users/IlyaKrotov/following{/other_user}","gists_url":"https://api.github.com/users/IlyaKrotov/gists{/gist_id}","starred_url":"https://api.github.com/users/IlyaKrotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IlyaKrotov/subscriptions","organizations_url":"https://api.github.com/users/IlyaKrotov/orgs","repos_url":"https://api.github.com/users/IlyaKrotov/repos","events_url":"https://api.github.com/users/IlyaKrotov/events{/privacy}","received_events_url":"https://api.github.com/users/IlyaKrotov/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T07:07:08Z","updated_at":"2018-08-16T07:07:08Z","author_association":"OWNER","body":"You have to install the following libs:\r\n\r\n1. talib (https://github.com/mrjbq7/ta-lib)\r\n2. bitmex (https://github.com/BitMEX/api-connectors/tree/master/official-http/python-swaggerpy)\r\nAnd finally, your python must be at least 3.6 version for using f-strings (ex: f\"Last prediction: {prediction}\")\r\n\r\nThen you can successfully run the code."}}
{"actor":{"display_login":"IlyaKrotov"}}