{"action":"created","issue":{"url":"https://api.github.com/repos/ranaroussi/qtpylib/issues/38","repository_url":"https://api.github.com/repos/ranaroussi/qtpylib","labels_url":"https://api.github.com/repos/ranaroussi/qtpylib/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/ranaroussi/qtpylib/issues/38/comments","events_url":"https://api.github.com/repos/ranaroussi/qtpylib/issues/38/events","html_url":"https://github.com/ranaroussi/qtpylib/issues/38","id":193670231,"number":38,"title":"Support for FA IB accounts","user":{"login":"nwillemse","id":5043222,"avatar_url":"https://avatars.githubusercontent.com/u/5043222?v=3","gravatar_id":"","url":"https://api.github.com/users/nwillemse","html_url":"https://github.com/nwillemse","followers_url":"https://api.github.com/users/nwillemse/followers","following_url":"https://api.github.com/users/nwillemse/following{/other_user}","gists_url":"https://api.github.com/users/nwillemse/gists{/gist_id}","starred_url":"https://api.github.com/users/nwillemse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwillemse/subscriptions","organizations_url":"https://api.github.com/users/nwillemse/orgs","repos_url":"https://api.github.com/users/nwillemse/repos","events_url":"https://api.github.com/users/nwillemse/events{/privacy}","received_events_url":"https://api.github.com/users/nwillemse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-06T02:56:32Z","updated_at":"2016-12-06T14:07:39Z","closed_at":null,"body":"Currently qtpylib doesn't support FA accounts.  When using an FA account to log into TWS, no market data is retrieving from IB."},"comment":{"url":"https://api.github.com/repos/ranaroussi/qtpylib/issues/comments/265157898","html_url":"https://github.com/ranaroussi/qtpylib/issues/38#issuecomment-265157898","issue_url":"https://api.github.com/repos/ranaroussi/qtpylib/issues/38","id":265157898,"user":{"login":"rterbush","id":526416,"avatar_url":"https://avatars.githubusercontent.com/u/526416?v=3","gravatar_id":"","url":"https://api.github.com/users/rterbush","html_url":"https://github.com/rterbush","followers_url":"https://api.github.com/users/rterbush/followers","following_url":"https://api.github.com/users/rterbush/following{/other_user}","gists_url":"https://api.github.com/users/rterbush/gists{/gist_id}","starred_url":"https://api.github.com/users/rterbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rterbush/subscriptions","organizations_url":"https://api.github.com/users/rterbush/orgs","repos_url":"https://api.github.com/users/rterbush/repos","events_url":"https://api.github.com/users/rterbush/events{/privacy}","received_events_url":"https://api.github.com/users/rterbush/received_events","type":"User","site_admin":false},"created_at":"2016-12-06T14:07:39Z","updated_at":"2016-12-06T14:07:39Z","body":"When connecting to an FA account, the following error is printed.\r\n```\r\n2016-12-06 13:23:36,430 [INFO] qtpylib.blotter: Connecting to Interactive Brokers...\r\nServer Version: 76\r\nTWS Time at connection:20161206 06:23:35 MST\r\n2016-12-06 13:23:37,489 [INFO] qtpylib.blotter: Connection established...\r\n2016-12-06 13:23:37,546 [WARNING] qtpylib.blotter: [IB #321] Error validating request:-'aV' : cause - Invalid account code '0'.\r\n```\r\n\r\nIn my experience, you need to specify the account you are acting on behalf of when using an FA account. This does appear to be working for data access (with exception of futures contracts which I will report in new issue), after recent changes, but will be a problem for trade allocation.\r\n\r\n"}}
{"actor":{"display_login":"rterbush"}}