{"_id":"5698058f69393517000c8467","parentDoc":null,"project":"563cc7119799fb0d00047685","category":{"_id":"569523fddcaf0d1700cb86bf","pages":["5697d359d231880d00676f1d","5697d37a8d2a770d00d2fcdf","5697d392d231880d00676f1f","5697d3ce69393517000c8402","5697d3e0d231880d00676f21","5697e1f53503e40d0061f4b0","5697e538d231880d00676f4a","5697f5b42cf4060d004eaa80","5697fcd02cf4060d004eaaa0","569801fc8d2a770d00d2fd34","5698058f69393517000c8467","5698085bd231880d00676f9d"],"version":"563cc7119799fb0d00047688","__v":12,"project":"563cc7119799fb0d00047685","sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-01-12T16:04:13.558Z","from_sync":false,"order":8,"slug":"reports","title":"Reports"},"__v":8,"version":{"_id":"563cc7119799fb0d00047688","__v":17,"project":"563cc7119799fb0d00047685","createdAt":"2015-11-06T15:28:17.683Z","releaseDate":"2015-11-06T15:28:17.683Z","categories":["563cc7129799fb0d00047689","566f37f37ffa002300c3cd5b","56914e9bd47b020d002225ac","5692b19ffe72e00d00e4f0a8","56940bc2d8c04d1700e5adb6","56940bc83e9d080d00f064f0","56951b2dfcb1032d0089df7a","569522aecaa32519009c410c","569523ce562335190016da97","569523fddcaf0d1700cb86bf","56980e4a8560a60d00e2c3c3","569921a41693520d002e1305","5699323b7465970d00650b82","569e6cc4fbee990d0072d927","56a2768a0aefae0d00b7fe66","5862e862b8b7fa23009665b7","592835c7bc8bca0f000cc9ff"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Model T","version_clean":"1.0.0","version":"1"},"user":"56957802fe18811700c9c07e","updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-01-14T20:31:11.465Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","examples":{"codes":[{"code":"","language":"text"}]},"method":"post","auth":"required","params":[],"url":""},"isReference":true,"order":3,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Definition\",\n  \"sidebar\": true\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"http://reports.drivewealth.io/DriveWealth\",\n      \"language\": \"http\",\n      \"name\": \" \"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Examples\",\n  \"sidebar\": true\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"POST /DriveWealth?ReportName=Instrument&ReportFormat=JSON&TradeStatus=-1&InstrumentType=-1&sessionKey=02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z&AccountNumber=DWTE000005&DateStart=2015-12-01T00:00:00.000Z&DateEnd=2015-12-30T23:59:59.999Z&wlpID=DW&LanguageID=en_US HTTP/1.1\\nHost: reports.drivewealth.io\\nAccept: application/json\\nContent-Type: application/json\\nx-mysolomeo-session-key: 02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z\",\n      \"language\": \"http\"\n    },\n    {\n      \"code\": \"curl -X POST -H \\\"Accept: application/json\\\" -H \\\"Content-Type: application/json\\\" -H \\\"x-mysolomeo-session-key: 02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z\\\" -d '' 'http://reports.drivewealth.io/DriveWealth?ReportName=Instrument&ReportFormat=JSON&TradeStatus=-1&InstrumentType=-1&sessionKey=02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z&AccountNumber=DWTE000005&DateStart=2015-12-01T00:00:00.000Z&DateEnd=2015-12-30T23:59:59.999Z&wlpID=DW&LanguageID=en_US'\",\n      \"language\": \"curl\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Request Arguments\"\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Argument\",\n    \"h-1\": \"Example\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"`ReportName`\",\n    \"0-1\": \"`\\\"Instrument\\\"`\",\n    \"0-2\": \"Internal report variable.\",\n    \"h-3\": \"Required\",\n    \"0-3\": \"**Yes**\",\n    \"1-0\": \"`ReportFormat`\",\n    \"1-1\": \"`\\\"JSON\\\"`\",\n    \"1-2\": \"Report formats.<br />**Options**: `\\\"PDF\\\"`, `\\\"HTML\\\"`, `\\\"XLS\\\"` or `\\\"JSON\\\"`.\",\n    \"1-3\": \"**Yes**\",\n    \"4-3\": \"**Yes**\",\n    \"5-3\": \"**Yes**\",\n    \"8-3\": \"**No**\",\n    \"9-3\": \"**No**\",\n    \"4-0\": \"`sessionKey`\",\n    \"5-0\": \"`AccountNumber`\",\n    \"8-0\": \"`wlpID`\",\n    \"9-0\": \"`LanguageID`\",\n    \"4-1\": \"`\\\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.`<br />`YYYY-MM-DDTHH:MM:SS.SSSZ\\\"`\",\n    \"5-1\": \"`\\\"xxxxxxxxxx\\\"`\",\n    \"8-1\": \"`\\\"DW\\\"`\",\n    \"9-1\": \"`\\\"en_US\\\"`\",\n    \"4-2\": \"Session key.\",\n    \"5-2\": \"Account number.\",\n    \"8-2\": \"WLP ID.<br />**Note**: Default to `\\\"DW\\\"`.\",\n    \"9-2\": \"Language.<br />**Options**: `\\\"en_US\\\"` (Default), `\\\"zh_CN\\\"`, `\\\"es_ES\\\"`, `\\\"pt_BR\\\"` or `\\\"ja_JP\\\"`.\",\n    \"2-0\": \"`TradeStatus`\",\n    \"2-1\": \"`\\\"-1\\\"`\",\n    \"2-2\": \"Desired status of instruments.<br />**Options**: `\\\"-1\\\"` - All, `\\\"0\\\"` - Inactive or `\\\"1\\\"` - Active.\",\n    \"2-3\": \"**Yes**\",\n    \"3-0\": \"`InstrumentType`\",\n    \"3-1\": \"`\\\"-1\\\"`\",\n    \"3-2\": \"Desired status of instruments.<br />**Options**: `\\\"-1\\\"` - All, `\\\"6\\\"` - Stocks or `\\\"7\\\"` - ETFs.\",\n    \"3-3\": \"**Yes**\",\n    \"6-0\": \"`DateStart`\",\n    \"6-1\": \"`\\\"YYY-MM-DDTHH:MM:SS.SSSZ\\\"`\",\n    \"6-2\": \"The beginning of the data range in UTC format.\",\n    \"6-3\": \"**Yes**\",\n    \"7-3\": \"**Yes**\",\n    \"7-2\": \"The end of the data range in UTC format.\",\n    \"7-1\": \"`\\\"YYY-MM-DDTHH:MM:SS.SSSZ\\\"`\",\n    \"7-0\": \"`DateEnd`\"\n  },\n  \"cols\": 4,\n  \"rows\": 10\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Result Format\",\n  \"sidebar\": true\n}\n[/block]\n\n[block:textarea]\n{\n  \"text\": \"The response (using `ReportFormat` set to `JSON`) returns a single array.\",\n  \"sidebar\": true\n}\n[/block]\n\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"instruments\\\" : [ {\\n    \\\"instrument\\\" : {\\n      \\\"currencyID\\\" : \\\"USD\\\",\\n      \\\"instrumentID\\\" : \\\"782ae9a3-0a5b-45f0-a022-956b018cf020\\\",\\n      \\\"limitStatus\\\" : 0,\\n      \\\"instrumentTypeID\\\" : 7,\\n      \\\"marginCurrencyID\\\" : \\\"USD\\\",\\n      \\\"name\\\" : \\\"0-5 Year TIPS Bond iShares\\\",\\n      \\\"orderSizeMax\\\" : 10000,\\n      \\\"orderSizeMin\\\" : 0.0001,\\n      \\\"orderSizeStep\\\" : 0.0001,\\n      \\\"symbol\\\" : \\\"STIPP\\\",\\n      \\\"tradeStatus\\\" : 1,\\n      \\\"urlInvestor\\\" : \\\"http://www.ishares.com/us/products/239450/ishares-05-year-tips-bond-etf\\\",\\n      \\\"priorClose\\\" : 0,\\n      \\\"marketState\\\" : 2,\\n      \\\"minTic\\\" : 0,\\n      \\\"pipMultiplier\\\" : 1,\\n      \\\"rebateSpread\\\" : 0\\n    },\\n    \\\"instrumentTypeDescr\\\" : \\\"ETF\\\",\\n    \\\"tradeStatusDescr\\\" : \\\"Active\\\",\\n    \\\"tagDescr\\\" : \\\"bond etf ishares stip tips \\\",\\n    \\\"linkable10K\\\" : \\\"http://www.ishares.com/us/products/239450/ishares-05-year-tips-bond-etf\\\"\\n  }, {\\n    \\\"instrument\\\" : {\\n      \\\"currencyID\\\" : \\\"USD\\\",\\n      \\\"instrumentID\\\" : \\\"1d5d35dd-939d-4c9c-aa2b-4b49bda8457f\\\",\\n      \\\"limitStatus\\\" : 0,\\n      \\\"instrumentTypeID\\\" : 6,\\n      \\\"marginCurrencyID\\\" : \\\"USD\\\",\\n      \\\"name\\\" : \\\"ACADIA Pharmaceuticals Inc.\\\",\\n      \\\"orderSizeMax\\\" : 10000,\\n      \\\"orderSizeMin\\\" : 0.0001,\\n      \\\"orderSizeStep\\\" : 0.0001,\\n      \\\"symbol\\\" : \\\"ACAD\\\",\\n      \\\"tradeStatus\\\" : 1,\\n      \\\"urlInvestor\\\" : \\\"http://ir.acadia-pharm.com/phoenix.zhtml?c=125180&p=irol-irhome\\\",\\n      \\\"priorClose\\\" : 36.04,\\n      \\\"marketState\\\" : 1,\\n      \\\"minTic\\\" : 0,\\n      \\\"pipMultiplier\\\" : 1,\\n      \\\"rebateSpread\\\" : 0\\n    },\\n    \\\"instrumentTypeDescr\\\" : \\\"Equity\\\",\\n    \\\"tradeStatusDescr\\\" : \\\"Active\\\",\\n    \\\"tagDescr\\\" : \\\"acad biopharmaceutical biotech biotechnology drugs healthcare usa \\\",\\n    \\\"linkable10K\\\" : \\\"http://ir.acadia-pharm.com/phoenix.zhtml?c=125180&p=irol-irhome\\\"\\n  }, {...}\\n ]\\n}\",\n      \"language\": \"json\",\n      \"name\": \"200 OK\"\n    }\n  ],\n  \"sidebar\": true\n}\n[/block]","excerpt":"View all instruments available on the DriveWealth platform.","slug":"stocks-etfs-and-adrs-offered","type":"endpoint","title":"Stocks, ETFs and ADRs Offered"}

postStocks, ETFs and ADRs Offered

View all instruments available on the DriveWealth platform.

[block:api-header] { "type": "basic", "title": "Definition", "sidebar": true } [/block] [block:code] { "codes": [ { "code": "http://reports.drivewealth.io/DriveWealth", "language": "http", "name": " " } ], "sidebar": true } [/block] [block:api-header] { "type": "basic", "title": "Examples", "sidebar": true } [/block] [block:code] { "codes": [ { "code": "POST /DriveWealth?ReportName=Instrument&ReportFormat=JSON&TradeStatus=-1&InstrumentType=-1&sessionKey=02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z&AccountNumber=DWTE000005&DateStart=2015-12-01T00:00:00.000Z&DateEnd=2015-12-30T23:59:59.999Z&wlpID=DW&LanguageID=en_US HTTP/1.1\nHost: reports.drivewealth.io\nAccept: application/json\nContent-Type: application/json\nx-mysolomeo-session-key: 02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z", "language": "http" }, { "code": "curl -X POST -H \"Accept: application/json\" -H \"Content-Type: application/json\" -H \"x-mysolomeo-session-key: 02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z\" -d '' 'http://reports.drivewealth.io/DriveWealth?ReportName=Instrument&ReportFormat=JSON&TradeStatus=-1&InstrumentType=-1&sessionKey=02e57c7d-d071-4c63-b491-1194a9939ea5.2016-01-13T22:34:53.101Z&AccountNumber=DWTE000005&DateStart=2015-12-01T00:00:00.000Z&DateEnd=2015-12-30T23:59:59.999Z&wlpID=DW&LanguageID=en_US'", "language": "curl" } ], "sidebar": true } [/block] [block:api-header] { "type": "basic", "title": "Request Arguments" } [/block] [block:parameters] { "data": { "h-0": "Argument", "h-1": "Example", "h-2": "Description", "0-0": "`ReportName`", "0-1": "`\"Instrument\"`", "0-2": "Internal report variable.", "h-3": "Required", "0-3": "**Yes**", "1-0": "`ReportFormat`", "1-1": "`\"JSON\"`", "1-2": "Report formats.<br />**Options**: `\"PDF\"`, `\"HTML\"`, `\"XLS\"` or `\"JSON\"`.", "1-3": "**Yes**", "4-3": "**Yes**", "5-3": "**Yes**", "8-3": "**No**", "9-3": "**No**", "4-0": "`sessionKey`", "5-0": "`AccountNumber`", "8-0": "`wlpID`", "9-0": "`LanguageID`", "4-1": "`\"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.`<br />`YYYY-MM-DDTHH:MM:SS.SSSZ\"`", "5-1": "`\"xxxxxxxxxx\"`", "8-1": "`\"DW\"`", "9-1": "`\"en_US\"`", "4-2": "Session key.", "5-2": "Account number.", "8-2": "WLP ID.<br />**Note**: Default to `\"DW\"`.", "9-2": "Language.<br />**Options**: `\"en_US\"` (Default), `\"zh_CN\"`, `\"es_ES\"`, `\"pt_BR\"` or `\"ja_JP\"`.", "2-0": "`TradeStatus`", "2-1": "`\"-1\"`", "2-2": "Desired status of instruments.<br />**Options**: `\"-1\"` - All, `\"0\"` - Inactive or `\"1\"` - Active.", "2-3": "**Yes**", "3-0": "`InstrumentType`", "3-1": "`\"-1\"`", "3-2": "Desired status of instruments.<br />**Options**: `\"-1\"` - All, `\"6\"` - Stocks or `\"7\"` - ETFs.", "3-3": "**Yes**", "6-0": "`DateStart`", "6-1": "`\"YYY-MM-DDTHH:MM:SS.SSSZ\"`", "6-2": "The beginning of the data range in UTC format.", "6-3": "**Yes**", "7-3": "**Yes**", "7-2": "The end of the data range in UTC format.", "7-1": "`\"YYY-MM-DDTHH:MM:SS.SSSZ\"`", "7-0": "`DateEnd`" }, "cols": 4, "rows": 10 } [/block] [block:api-header] { "type": "basic", "title": "Result Format", "sidebar": true } [/block] [block:textarea] { "text": "The response (using `ReportFormat` set to `JSON`) returns a single array.", "sidebar": true } [/block] [block:code] { "codes": [ { "code": "{\n \"instruments\" : [ {\n \"instrument\" : {\n \"currencyID\" : \"USD\",\n \"instrumentID\" : \"782ae9a3-0a5b-45f0-a022-956b018cf020\",\n \"limitStatus\" : 0,\n \"instrumentTypeID\" : 7,\n \"marginCurrencyID\" : \"USD\",\n \"name\" : \"0-5 Year TIPS Bond iShares\",\n \"orderSizeMax\" : 10000,\n \"orderSizeMin\" : 0.0001,\n \"orderSizeStep\" : 0.0001,\n \"symbol\" : \"STIPP\",\n \"tradeStatus\" : 1,\n \"urlInvestor\" : \"http://www.ishares.com/us/products/239450/ishares-05-year-tips-bond-etf\",\n \"priorClose\" : 0,\n \"marketState\" : 2,\n \"minTic\" : 0,\n \"pipMultiplier\" : 1,\n \"rebateSpread\" : 0\n },\n \"instrumentTypeDescr\" : \"ETF\",\n \"tradeStatusDescr\" : \"Active\",\n \"tagDescr\" : \"bond etf ishares stip tips \",\n \"linkable10K\" : \"http://www.ishares.com/us/products/239450/ishares-05-year-tips-bond-etf\"\n }, {\n \"instrument\" : {\n \"currencyID\" : \"USD\",\n \"instrumentID\" : \"1d5d35dd-939d-4c9c-aa2b-4b49bda8457f\",\n \"limitStatus\" : 0,\n \"instrumentTypeID\" : 6,\n \"marginCurrencyID\" : \"USD\",\n \"name\" : \"ACADIA Pharmaceuticals Inc.\",\n \"orderSizeMax\" : 10000,\n \"orderSizeMin\" : 0.0001,\n \"orderSizeStep\" : 0.0001,\n \"symbol\" : \"ACAD\",\n \"tradeStatus\" : 1,\n \"urlInvestor\" : \"http://ir.acadia-pharm.com/phoenix.zhtml?c=125180&p=irol-irhome\",\n \"priorClose\" : 36.04,\n \"marketState\" : 1,\n \"minTic\" : 0,\n \"pipMultiplier\" : 1,\n \"rebateSpread\" : 0\n },\n \"instrumentTypeDescr\" : \"Equity\",\n \"tradeStatusDescr\" : \"Active\",\n \"tagDescr\" : \"acad biopharmaceutical biotech biotechnology drugs healthcare usa \",\n \"linkable10K\" : \"http://ir.acadia-pharm.com/phoenix.zhtml?c=125180&p=irol-irhome\"\n }, {...}\n ]\n}", "language": "json", "name": "200 OK" } ], "sidebar": true } [/block]