Create Screener
Changed onCreate a saved screener configuration.
Persists a screener configuration for the authenticated user.
Request
- Base URLhttps://api.clearstreet.com
- AuthHTTP bearer
Request body
Example request
{
"columns": [
{
"name": "market_cap"
}
],
"filters": [
{
"left": {
"name": "market_cap"
},
"op": {
"name": "GREATER_OR_EQUAL"
},
"right": [
{
"value": 1000000000
}
]
}
],
"sorts": [
{
"direction": "DESC",
"field": {
"name": "market_cap"
}
}
]
}Response
Screener created successfully
Example response
{
"error": {
"code": 400,
"message": "Order quantity must be greater than zero"
},
"metadata": {
"page_number": 1,
"total_items": 42,
"total_pages": 5
},
"data": {
"columns": [
{
"name": "market_cap"
}
],
"filters": [
{
"left": {
"name": "market_cap"
},
"op": {
"name": "GREATER_OR_EQUAL"
},
"right": [
{
"value": 1000000000
}
]
}
],
"sorts": [
{
"direction": "DESC",
"field": {
"name": "market_cap"
}
}
]
}
}Changes
- info
added the new optional request property
- info
added the required property
//to the response with the status
- info
- warning
added the new
ANNUALenum value to the////////response property for the response status - warning
added the new
ANNUALenum value to the/////////response property for the response status - warning
added the new
ANNUALenum value to the///////////////response property for the response status - warning
added the new
ANNUALenum value to the/////////response property for the response status - info
added the new
ANNUALenum value to the request property////// - info
added the new
ANNUALenum value to the request property/////// - info
added the new
ANNUALenum value to the request property///////////// - info
added the new
ANNUALenum value to the request property///////
- warning