{"action":"created","issue":{"url":"https://api.github.com/repos/ccxt/ccxt/issues/2698","repository_url":"https://api.github.com/repos/ccxt/ccxt","labels_url":"https://api.github.com/repos/ccxt/ccxt/issues/2698/labels{/name}","comments_url":"https://api.github.com/repos/ccxt/ccxt/issues/2698/comments","events_url":"https://api.github.com/repos/ccxt/ccxt/issues/2698/events","html_url":"https://github.com/ccxt/ccxt/issues/2698","id":318719635,"number":2698,"title":"How to get the order id when RequestTimeout received and the order closes immediately ","user":{"login":"AvishaiW","id":33716232,"avatar_url":"https://avatars3.githubusercontent.com/u/33716232?v=4","gravatar_id":"","url":"https://api.github.com/users/AvishaiW","html_url":"https://github.com/AvishaiW","followers_url":"https://api.github.com/users/AvishaiW/followers","following_url":"https://api.github.com/users/AvishaiW/following{/other_user}","gists_url":"https://api.github.com/users/AvishaiW/gists{/gist_id}","starred_url":"https://api.github.com/users/AvishaiW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AvishaiW/subscriptions","organizations_url":"https://api.github.com/users/AvishaiW/orgs","repos_url":"https://api.github.com/users/AvishaiW/repos","events_url":"https://api.github.com/users/AvishaiW/events{/privacy}","received_events_url":"https://api.github.com/users/AvishaiW/received_events","type":"User","site_admin":false},"labels":[{"id":604886969,"url":"https://api.github.com/repos/ccxt/ccxt/labels/question","name":"question","color":"cc317c","default":true}],"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":1,"created_at":"2018-04-29T14:04:10Z","updated_at":"2018-04-29T14:49:11Z","closed_at":"2018-04-29T14:12:33Z","author_association":"NONE","body":"Hi,\r\n\r\nThe environment we are using:\r\n- Programming Language version: Python \r\n- CCXT version: 1.12.131\r\n- Method: create_order\r\n\r\nWe are trying to figure out what is the best way to handle `RequestTimeout` during the call to `create_order`.\r\nWe've read the docs [describing this](https://github.com/ccxt/ccxt/wiki/Manual#requesttimeout) \r\nbut there are still some un-clarities.\r\nIn the case in which a `RequestTimeout` occurs and the order closes immediately, how can the order-id be received? The `fetch_balance` call, as proposed on the docs, does not include the entire required info of course."},"comment":{"url":"https://api.github.com/repos/ccxt/ccxt/issues/comments/385256728","html_url":"https://github.com/ccxt/ccxt/issues/2698#issuecomment-385256728","issue_url":"https://api.github.com/repos/ccxt/ccxt/issues/2698","id":385256728,"user":{"login":"AvishaiW","id":33716232,"avatar_url":"https://avatars3.githubusercontent.com/u/33716232?v=4","gravatar_id":"","url":"https://api.github.com/users/AvishaiW","html_url":"https://github.com/AvishaiW","followers_url":"https://api.github.com/users/AvishaiW/followers","following_url":"https://api.github.com/users/AvishaiW/following{/other_user}","gists_url":"https://api.github.com/users/AvishaiW/gists{/gist_id}","starred_url":"https://api.github.com/users/AvishaiW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AvishaiW/subscriptions","organizations_url":"https://api.github.com/users/AvishaiW/orgs","repos_url":"https://api.github.com/users/AvishaiW/repos","events_url":"https://api.github.com/users/AvishaiW/events{/privacy}","received_events_url":"https://api.github.com/users/AvishaiW/received_events","type":"User","site_admin":false},"created_at":"2018-04-29T14:49:11Z","updated_at":"2018-04-29T14:49:11Z","author_association":"NONE","body":"Thanks for the quick reply.\r\nWe have the following questions:\r\n1. When calling `fetch_orders` for the following case, the command didn't include the immediately closed order. Same for calling `fetch_closed_orders`.\r\n2. We wanted to use `fetch_my_trades` however this in not supported for all exchanges (is there any workaround?)"}}
{"actor":{"display_login":"AvishaiW"}}