{"action":"created","issue":{"url":"https://api.github.com/repos/BitMEX/api-connectors/issues/182","repository_url":"https://api.github.com/repos/BitMEX/api-connectors","labels_url":"https://api.github.com/repos/BitMEX/api-connectors/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/BitMEX/api-connectors/issues/182/comments","events_url":"https://api.github.com/repos/BitMEX/api-connectors/issues/182/events","html_url":"https://github.com/BitMEX/api-connectors/issues/182","id":343662851,"node_id":"MDU6SXNzdWUzNDM2NjI4NTE=","number":182,"title":"Might be new. but swagger is terribly complicated.","user":{"login":"tr91","id":41246263,"node_id":"MDQ6VXNlcjQxMjQ2MjYz","avatar_url":"https://avatars1.githubusercontent.com/u/41246263?v=4","gravatar_id":"","url":"https://api.github.com/users/tr91","html_url":"https://github.com/tr91","followers_url":"https://api.github.com/users/tr91/followers","following_url":"https://api.github.com/users/tr91/following{/other_user}","gists_url":"https://api.github.com/users/tr91/gists{/gist_id}","starred_url":"https://api.github.com/users/tr91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tr91/subscriptions","organizations_url":"https://api.github.com/users/tr91/orgs","repos_url":"https://api.github.com/users/tr91/repos","events_url":"https://api.github.com/users/tr91/events{/privacy}","received_events_url":"https://api.github.com/users/tr91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-23T14:42:33Z","updated_at":"2018-07-27T18:56:47Z","closed_at":null,"author_association":"NONE","body":"I have a few sample commands to work off (Python):\r\n```\r\n\r\nfrom bitmex import bitmex\r\nimport simplejson as json\r\n\r\napi_key = '' # your api key\r\napi_secret = '' # your api secret\r\n\r\nclient = bitmex(test=True, api_key=api_key, api_secret=api_secret)\r\nall_orders = client.Order.Order_getOrders(symbol='XBTUSD', reverse=True).result()\r\n```\r\nThat will succesfully print out all orders, in reverse order since the account was created.\r\n Can someone show me **where**/in which file those functions are called from?\r\n\r\nBeen checking the auto generated file, digging through bravado to search where the Order class and Order_getOrders function is defined. No luck. Funny how complicated bitmex is when bitfinex API was a breeze.\r\n\r\nOtherwise I won't know how to do the rest of my required coding etc, finding open position etc.\r\n"},"comment":{"url":"https://api.github.com/repos/BitMEX/api-connectors/issues/comments/408509559","html_url":"https://github.com/BitMEX/api-connectors/issues/182#issuecomment-408509559","issue_url":"https://api.github.com/repos/BitMEX/api-connectors/issues/182","id":408509559,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODUwOTU1OQ==","user":{"login":"tr91","id":41246263,"node_id":"MDQ6VXNlcjQxMjQ2MjYz","avatar_url":"https://avatars1.githubusercontent.com/u/41246263?v=4","gravatar_id":"","url":"https://api.github.com/users/tr91","html_url":"https://github.com/tr91","followers_url":"https://api.github.com/users/tr91/followers","following_url":"https://api.github.com/users/tr91/following{/other_user}","gists_url":"https://api.github.com/users/tr91/gists{/gist_id}","starred_url":"https://api.github.com/users/tr91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tr91/subscriptions","organizations_url":"https://api.github.com/users/tr91/orgs","repos_url":"https://api.github.com/users/tr91/repos","events_url":"https://api.github.com/users/tr91/events{/privacy}","received_events_url":"https://api.github.com/users/tr91/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T18:56:47Z","updated_at":"2018-07-27T18:56:47Z","author_association":"NONE","body":"`print client.Order `or `print client.Order()` does nothing useful. Can you please be a bit clearer with your instructions? Thanks in advance!\r\n"}}
{"actor":{"display_login":"tr91"}}