{"action":"closed","issue":{"url":"https://api.github.com/repos/sanko/Robinhood/issues/2","repository_url":"https://api.github.com/repos/sanko/Robinhood","labels_url":"https://api.github.com/repos/sanko/Robinhood/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sanko/Robinhood/issues/2/comments","events_url":"https://api.github.com/repos/sanko/Robinhood/issues/2/events","html_url":"https://github.com/sanko/Robinhood/issues/2","id":156645092,"number":2,"title":"Placing a stop-loss order for an existing order doesn't work.","user":{"login":"wlynnInhanceTechnology","id":12862329,"avatar_url":"https://avatars.githubusercontent.com/u/12862329?v=3","gravatar_id":"","url":"https://api.github.com/users/wlynnInhanceTechnology","html_url":"https://github.com/wlynnInhanceTechnology","followers_url":"https://api.github.com/users/wlynnInhanceTechnology/followers","following_url":"https://api.github.com/users/wlynnInhanceTechnology/following{/other_user}","gists_url":"https://api.github.com/users/wlynnInhanceTechnology/gists{/gist_id}","starred_url":"https://api.github.com/users/wlynnInhanceTechnology/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wlynnInhanceTechnology/subscriptions","organizations_url":"https://api.github.com/users/wlynnInhanceTechnology/orgs","repos_url":"https://api.github.com/users/wlynnInhanceTechnology/repos","events_url":"https://api.github.com/users/wlynnInhanceTechnology/events{/privacy}","received_events_url":"https://api.github.com/users/wlynnInhanceTechnology/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-25T01:36:07Z","updated_at":"2016-05-31T14:18:39Z","closed_at":"2016-05-31T14:18:39Z","body":"placing a stop-loss order for an existing order doesn't work.\r\nStock was already purchased with no stop-loss or limit-sell orders in place.\r\n\r\nServer responds with bad request, when using the following parameters.\r\n RequestParams requestParameters = new RequestParams();\r\n        requestParameters.put(\"account\",account);       //url\r\n        requestParameters.put(\"instrument\",instrument);\r\n        requestParameters.put(\"symbol\",symbol);\r\n        requestParameters.put(\"type\",\"limit\");\r\n        requestParameters.put(\"time_in_force\",\"gtc\");\r\n        requestParameters.put(\"trigger\",\"stop\");\r\n        requestParameters.put(\"stop_price\",stoplossPrice);\r\n        requestParameters.put(\"quantity\",quantity);\r\n        requestParameters.put(\"side\",\"sell\");"}}
{"actor":{"display_login":"wlynnInhanceTechnology"}}