{"action":"created","issue":{"url":"https://api.github.com/repos/Drakkar-Software/OctoBot/issues/278","repository_url":"https://api.github.com/repos/Drakkar-Software/OctoBot","labels_url":"https://api.github.com/repos/Drakkar-Software/OctoBot/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/Drakkar-Software/OctoBot/issues/278/comments","events_url":"https://api.github.com/repos/Drakkar-Software/OctoBot/issues/278/events","html_url":"https://github.com/Drakkar-Software/OctoBot/issues/278","id":337303651,"node_id":"MDU6SXNzdWUzMzczMDM2NTE=","number":278,"title":"bitmex ","user":{"login":"pudong1","id":40735848,"node_id":"MDQ6VXNlcjQwNzM1ODQ4","avatar_url":"https://avatars3.githubusercontent.com/u/40735848?v=4","gravatar_id":"","url":"https://api.github.com/users/pudong1","html_url":"https://github.com/pudong1","followers_url":"https://api.github.com/users/pudong1/followers","following_url":"https://api.github.com/users/pudong1/following{/other_user}","gists_url":"https://api.github.com/users/pudong1/gists{/gist_id}","starred_url":"https://api.github.com/users/pudong1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pudong1/subscriptions","organizations_url":"https://api.github.com/users/pudong1/orgs","repos_url":"https://api.github.com/users/pudong1/repos","events_url":"https://api.github.com/users/pudong1/events{/privacy}","received_events_url":"https://api.github.com/users/pudong1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-07-01T16:28:25Z","updated_at":"2018-07-01T17:40:40Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\nI want to collect to bitmex for some test and develop my own strategy. Using CCXT, it could be done. Withinin OctoBot, it seems this is feature is in lack. It would be nice if this feature could be implemented in the near feature. \r\n\r\nI gave a shot using current OctoBot, it seems that   the \"pairs\" in the config fiel, i.e.,  either   'XBTUSD' or 'BTC/USDT'  is recoginized, see more details in the log file.\r\n\r\nThanks in advance.\r\nbotbot1\r\n[OctoBot.log.zip](https://github.com/Drakkar-Software/OctoBot/files/2152945/OctoBot.log.zip)\r\n\r\n**Describe the solution you'd like**\r\nA clear and concise description of what you want to happen.\r\n\r\n**Describe alternatives you've considered**\r\nA clear and concise description of any alternative solutions or features you've considered.\r\n\r\n**Additional context**\r\n- Add any other context or screenshots about the feature request here.\r\n- You can link a github gist to explain the feature"},"comment":{"url":"https://api.github.com/repos/Drakkar-Software/OctoBot/issues/comments/401621544","html_url":"https://github.com/Drakkar-Software/OctoBot/issues/278#issuecomment-401621544","issue_url":"https://api.github.com/repos/Drakkar-Software/OctoBot/issues/278","id":401621544,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTYyMTU0NA==","user":{"login":"GuillaumeDSM","id":9078616,"node_id":"MDQ6VXNlcjkwNzg2MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/9078616?v=4","gravatar_id":"","url":"https://api.github.com/users/GuillaumeDSM","html_url":"https://github.com/GuillaumeDSM","followers_url":"https://api.github.com/users/GuillaumeDSM/followers","following_url":"https://api.github.com/users/GuillaumeDSM/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeDSM/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeDSM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeDSM/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeDSM/orgs","repos_url":"https://api.github.com/users/GuillaumeDSM/repos","events_url":"https://api.github.com/users/GuillaumeDSM/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeDSM/received_events","type":"User","site_admin":false},"created_at":"2018-07-01T17:40:40Z","updated_at":"2018-07-01T17:40:40Z","author_association":"CONTRIBUTOR","body":"Thank you for your explaination and you feedback on OctoBot's interface with bitmex !\r\n\r\nTime frames are of course first limited by the given exchange, which is an info ccxt can give and is use by OctoBot to check if a requested time frame is usable. I guess if you are asking this question it means bitmex can handle other times frames than only those 2 ones.\r\nTime frames used by the bot depend on the used strategy:\r\nEach strategy has a method called get_required_time_frames() which returns the list of time frames to use. In this method, you can add as many time frames as you want like in this example from the default tentacle mixed_strategies_evaluator.py: FullMixedStrategiesEvaluator:\r\n@classmethod\r\n    def get_required_time_frames(cls):\r\n        return [TimeFrames.THIRTY_MINUTES,\r\n                TimeFrames.ONE_HOUR,\r\n                TimeFrames.TWO_HOURS,\r\n                TimeFrames.FOUR_HOURS,\r\n                TimeFrames.ONE_DAY]\r\n\r\nYou can get the full list of time frames in config.cst.py/TimeFrames\r\n\r\nI hope this will help you."}}
{"actor":{"display_login":"GuillaumeDSM"}}