{"openapi":"3.0.1","info":{"title":"SMD API","description":"SMD API","contact":{"email":"dl-fr-smd2@equensworldline.com"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"version":"1.0.0"},"servers":[{"url":"https://smd-api.tfismd.giservices.io","description":"Generated server url"}],"security":[{"bearerAuth":[]}],"tags":[{"name":"instruments","description":"Instruments APIs"},{"name":"indexes","description":"Indexes APIs"},{"name":"documents","description":"Documents APIs"},{"name":"others","description":"Others APIs"},{"name":"users","description":"Users APIs"},{"name":"portfolios","description":"Portfolios APIs"},{"name":"watchlists","description":"Watchlists APIs"}],"paths":{"/watchlists/{watchlist-id}":{"get":{"tags":["watchlists"],"summary":"Get watchlist by ID","description":"### Get a watchlist by ID","operationId":"WatchlistByIDApi","parameters":[{"name":"watchlist-id","in":"path","description":"ID of watchlist to get","required":true,"schema":{"type":"integer"}},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item user ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/watchlistDetailResponse"}}}}}},"put":{"tags":["watchlists"],"summary":"Modify Watchlist","description":"### Modify information for the watchListID","operationId":"ModifyWatchlistApi","parameters":[{"name":"watchlist-id","in":"path","description":"ID of watchlist to modify","required":true,"schema":{"type":"integer"}}],"requestBody":{"description":"Information to modify","content":{"application/json":{"schema":{"$ref":"#/components/schemas/modifyWatchlistRequest"}}},"required":true},"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item modified"}}},"delete":{"tags":["watchlists"],"summary":"Delete Watchlist","description":"### Delete a watchlist","operationId":"DeleteWatchlistApi","parameters":[{"name":"watchlist-id","in":"path","description":"ID of watchlist to delete","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item deleted"}}}},"/users/{user-id}":{"get":{"tags":["users"],"summary":"Get user by ID","description":"### Get a user by ID","operationId":"UserByIDApi","parameters":[{"name":"user-id","in":"path","description":"ID of user to get","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item user ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}}}},"put":{"tags":["users"],"summary":"Modify User","description":"### Modify information for the userID","operationId":"ModifyUserApi","parameters":[{"name":"user-id","in":"path","description":"ID of user to modify","required":true,"schema":{"type":"integer"}}],"requestBody":{"description":"Information to modify","content":{"application/json":{"schema":{"$ref":"#/components/schemas/modifyUserRequest"}}},"required":true},"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item modified"}}},"delete":{"tags":["users"],"summary":"Delete User","description":"### Delete a user","operationId":"DeleteUserApi","parameters":[{"name":"user-id","in":"path","description":"ID of user to delete","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item deleted"}}}},"/portfolios/{portfolio-id}":{"get":{"tags":["portfolios"],"summary":"Get portfolio by ID","description":"### Get a portfolio by ID","operationId":"PortfolioByIDApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio to get","required":true,"schema":{"type":"integer"}},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"all-lines","in":"query","description":"display all portfolio lines","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item user ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfolioDetail"}}}}}},"put":{"tags":["portfolios"],"summary":"Modify Portfolio","description":"### Modify information for the portfolioID","operationId":"ModifyPortfolioApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio to modify","required":true,"schema":{"type":"integer"}}],"requestBody":{"description":"Information to modify","content":{"application/json":{"schema":{"$ref":"#/components/schemas/modifyPortfolioRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item modified","content":{"*/*":{"schema":{"type":"string"}}}}}},"delete":{"tags":["portfolios"],"summary":"Delete Portfolio","description":"### Delete a portfolio","operationId":"DeletePortfolioApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio to delete","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item deleted","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/portfolios/{portfolio-id}/liquidity/remove":{"put":{"tags":["portfolios"],"summary":"Remove liquidity from portfolio","description":"### Remove liquidity from portfolio","operationId":"RemoveLiquidityApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}}],"requestBody":{"description":"Liquidity to remove with timestamp and comment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/removePortfolioLiquidityRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"liquidity removed","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/portfolios/{portfolio-id}/liquidity/add":{"put":{"tags":["portfolios"],"summary":"Add liquidity to portfolio","description":"### Add liquidity to portfolio","operationId":"AddLiquidityApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}}],"requestBody":{"description":"Liquidity to add with timestamp and comment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/addPortfolioLiquidityRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"liquidity added","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/portfolios/{portfolio-id}/lines/{line-id}":{"put":{"tags":["portfolios"],"summary":"Modify portfolio line","description":"### Modify portfolio line","operationId":"ModifyPortfolioLineApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"line-id","in":"path","description":"ID of portfolioLine to modify","required":true,"schema":{"type":"integer"}}],"requestBody":{"description":"New infos for the line","content":{"application/json":{"schema":{"$ref":"#/components/schemas/modifyPortfolioLineRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"line modified","content":{"*/*":{"schema":{"type":"string"}}}}}},"delete":{"tags":["portfolios"],"summary":"Remove portfolio line","description":"### Remove portfolio line","operationId":"RemovePortfolioLineApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"line-id","in":"path","description":"ID of portfolioLine to remove","required":true,"schema":{"type":"integer"}},{"name":"just-hide-the-line","in":"query","description":"For delete the line or just hide (ex: false)","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"line removed","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/portfolios/{portfolio-id}/lines/{line-id}/operations/{operation-id}":{"put":{"tags":["portfolios"],"summary":"Update comment of operation","description":"### Update comment of operation","operationId":"UpdateCommentOfOperationApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"line-id","in":"path","description":"ID of portfolioLine","required":true,"schema":{"type":"integer"}},{"name":"operation-id","in":"path","description":"ID of portfolioOperation to modify","required":true,"schema":{"type":"integer"}}],"requestBody":{"description":"New comment","content":{"application/json":{"schema":{"$ref":"#/components/schemas/updatePortfolioOperationCommentRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"operation comment modified","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/alerts/{alert-id}":{"get":{"tags":["alerts"],"summary":"Get alert by ID","description":"### Get an alert by ID\n* If view mandatory, by default use LIGHT\n* If quality mandatory, by default use BT","operationId":"AlertByIDApi","parameters":[{"name":"alert-id","in":"path","description":"ID of alert to get","required":true,"schema":{"type":"integer"}},{"name":"view","in":"query","description":"Response view","required":false,"schema":{"$ref":"#/components/schemas/View"}}],"responses":{"400":{"description":"invalid input, object invalid","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item user ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alert"}}}}}},"put":{"tags":["alerts"],"summary":"Modify Alert","description":"### Modify information for the alertID\n* If view mandatory, by default use LIGHT\n* If quality mandatory, by default use BT","operationId":"ModifyAlertApi","parameters":[{"name":"alert-id","in":"path","description":"ID of alert to modify","required":true,"schema":{"type":"integer"}}],"requestBody":{"description":"Information to modify","content":{"application/json":{"schema":{"$ref":"#/components/schemas/modifyAlertRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item modified"}}},"delete":{"tags":["alerts"],"summary":"Delete Alert","description":"### Delete an alert\n* If view mandatory, by default use LIGHT\n* If quality mandatory, by default use BT","operationId":"DeleteAlertApi","parameters":[{"name":"alert-id","in":"path","description":"ID of alert to delete","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"invalid input, object invalid","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item deleted"}}}},"/watchlists":{"get":{"tags":["watchlists"],"summary":"Get watchlists by UserID","description":"### Get the watchlists by User ID","operationId":"WatchlistsByUserIDApi","parameters":[{"name":"user-id","in":"query","description":"ID of user","required":true,"schema":{"type":"integer"}},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"order-by-name","in":"query","description":"order by name","required":false,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item user ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/watchlistListResponse"}}}}}},"post":{"tags":["watchlists"],"summary":"Create WatchList","description":"### Create a watchlist for a user","operationId":"CreateWatchListApi","requestBody":{"description":"Information for watchlist to create","content":{"application/json":{"schema":{"$ref":"#/components/schemas/createWatchlistRequest"}}},"required":true},"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item created"}}}},"/watchlists/{watchlist-id}/instruments/{instrument-key}":{"post":{"tags":["watchlists"],"summary":"Add instrument in watchlist","description":"### Add instrument in watchlist","operationId":"AddInstrumentApi","parameters":[{"name":"watchlist-id","in":"path","description":"ID of watchlist to modify","required":true,"schema":{"type":"integer"}},{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string","example":"FR0011981968,XPAR,ISIN"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item modified"}}}},"/users":{"post":{"tags":["users"],"summary":"Create User","description":"### Create a user in database","operationId":"CreateUserApi","requestBody":{"description":"Information for user to create","content":{"application/json":{"schema":{"$ref":"#/components/schemas/createUserRequest"}}},"required":true},"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item created"}}}},"/top-consult/logs/{instrument-key}":{"post":{"tags":["others"],"summary":"Top Consult Log","description":"### Top Consult Log","operationId":"TopConsultLogApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"}},{"name":"type","in":"query","required":true,"schema":{"type":"string"}},{"name":"application","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Top Consult Log","content":{"application/json":{"schema":{"$ref":"#/components/schemas/topConsultLogResponse"}}}}}}},"/portfolios":{"get":{"tags":["portfolios"],"summary":"Get portfolios by UserID","description":"### Get the portfolios by User ID","operationId":"PortfoliosByUserIDApi","parameters":[{"name":"user-id","in":"query","description":"ID of user","required":true,"schema":{"type":"integer"}},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"order-by-name","in":"query","description":"order portfolio by names","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item user ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfolioListResponse"}}}}}},"post":{"tags":["portfolios"],"summary":"Create Portfolio","description":"### Create a portfolio for a user","operationId":"CreatePortfolioApi","requestBody":{"description":"Information for portfolio to create","content":{"application/json":{"schema":{"$ref":"#/components/schemas/createPortfolioRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item created","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/portfolios/{portfolio-id}/instruments/{instrument-key}/sale":{"post":{"tags":["portfolios"],"summary":"Sale instrument","description":"### Sale instrument","operationId":"SaleInstrumentApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"instrument-key","in":"path","description":"key is \"code,exchangeCode,codification\", where codification is optional","required":true,"schema":{"type":"string","example":"FR0011981968,XPAR,ISIN"}}],"requestBody":{"description":"Optional infos for the sale","content":{"application/json":{"schema":{"$ref":"#/components/schemas/salePortfolioInstrumentRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"sale done","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/portfolios/{portfolio-id}/instruments/{instrument-key}/purchase":{"post":{"tags":["portfolios"],"summary":"Purchase instrument","description":"### Purchase instrument","operationId":"PurchaseInstrumentApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"instrument-key","in":"path","description":"key is \"code,exchangeCode,codification\", where codification is optional","required":true,"schema":{"type":"string","example":"FR0011981968,XPAR,ISIN"}}],"requestBody":{"description":"Optional infos for the purchase","content":{"application/json":{"schema":{"$ref":"#/components/schemas/purchasePortfolioInstrumentRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"purchase done","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/portfolios/{portfolio-id}/instruments/{instrument-key}/dividends":{"post":{"tags":["portfolios"],"summary":"Add dividend","description":"### Add dividend","operationId":"AddDividendApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"instrument-key","in":"path","description":"key is \"code,exchangeCode,codification\", where codification is optional","required":true,"schema":{"type":"string","example":"FR0011981968,XPAR,ISIN"}}],"requestBody":{"description":"Optional infos for the dividend addition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/addPortfolioDividendRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"dividend added","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/portfolios/{portfolio-id}/instruments/{instrument-key}/corporate-action":{"post":{"tags":["portfolios"],"summary":"Corporate action","description":"### Corporate action","operationId":"CorporateActionApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"instrument-key","in":"path","description":"key is \"code,exchangeCode,codification\", where codification is optional","required":true,"schema":{"type":"string","example":"FR0011981968,XPAR,ISIN"}}],"requestBody":{"description":"Optional infos for the corporate action addition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfolioCorporateActionRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"corporate action added","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/instruments/documents":{"post":{"tags":["instruments"],"summary":"Document Search for a list of instruments","description":"### Document Search for a list of instruments","operationId":"ListInstrDocumentSearchApi","requestBody":{"description":"Document search criteria for a list of instruments","content":{"application/json":{"schema":{"$ref":"#/components/schemas/instrumentDocumentSearchRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"Documents","content":{"application/json":{"schema":{"$ref":"#/components/schemas/documentSearchResponse"}}}}}}},"/alerts":{"get":{"tags":["alerts"],"summary":"Get alerts","description":"Get alerts for the required user-id, optionally using view. Use status to filter by status values, or group-id to filter by group. status and group-id are mutually exclusive.","operationId":"AlertsByCustomerIDApi","parameters":[{"name":"user-id","in":"query","description":"ID of user","required":true,"schema":{"type":"integer"}},{"name":"status","in":"query","description":"Filter by status; omit group-id when supplied","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/AlertStatus"}}},{"name":"group-id","in":"query","description":"Filter by group; omit status when supplied","required":false,"schema":{"type":"integer"}},{"name":"view","in":"query","description":"Response view","required":false,"schema":{"$ref":"#/components/schemas/View"}}],"responses":{"400":{"description":"invalid input, object invalid","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item user ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/alertListResponse"}}}}}},"post":{"tags":["alerts"],"summary":"Create Alert","description":"### Create a new alert\n* If view mandatory, by default use LIGHT\n* If quality mandatory, by default use BT","operationId":"CreateAlertApi","requestBody":{"description":"Information for alert to create","content":{"application/json":{"schema":{"$ref":"#/components/schemas/createAlertRequest"}}},"required":true},"responses":{"400":{"description":"invalid input, object invalid","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"item created"},"409":{"description":"an existing item already exists"}}}},"/users/external-ref/{external-reference}":{"get":{"tags":["users"],"summary":"Get user by externalRef","description":"### Get a user by External Ref","operationId":"UserByExternalRefApi","parameters":[{"name":"external-reference","in":"path","description":"externalRef of user to get","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"item user ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/user"}}}}}}},"/trading-groups":{"get":{"tags":["others"],"summary":"Trading Group","description":"### Trading Group","operationId":"TradingGroupApi","parameters":[{"name":"exchange","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Exchange"}},{"name":"instrument-types","in":"query","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstrumentType"}}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Trading Group","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tradingGroupResponse"}}}}}}},"/top-consult":{"get":{"tags":["others"],"summary":"Top Consult","description":"### Top Consult","operationId":"TopConsultApi","parameters":[{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"begin-date","in":"query","description":"format yyyyMMdd-HH:mm:ss","required":true,"schema":{"pattern":"[0-9]{8}-[0-9]{2}:[0-9]{2}:[0-9]{2}","type":"string"},"example":"20230131-01:01:01"},{"name":"end-date","in":"query","description":"format yyyyMMdd-HH:mm:ss","required":true,"schema":{"pattern":"[0-9]{8}-[0-9]{2}:[0-9]{2}:[0-9]{2}","type":"string"},"example":"20230131-01:01:01"},{"name":"application","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Top Consult","content":{"application/json":{"schema":{"$ref":"#/components/schemas/topConsultResponse"}}}}}}},"/tick-sizes/rules":{"get":{"tags":["others"],"summary":"Tick Size Rule","description":"### Tick Size Rule","operationId":"TickSizeApi","responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Tick Size Rule","content":{"application/json":{"schema":{"$ref":"#/components/schemas/tickSizeResponse"}}}}}}},"/push-subscribe/{target}/{instrument-push-key}":{"get":{"tags":["others"],"summary":"Push Subscribe","description":"### Push Subscribe","operationId":"PushSubscribeApi","parameters":[{"name":"target","in":"path","required":true,"schema":{"$ref":"#/components/schemas/PushSubscribeTarget"}},{"name":"instrument-push-key","in":"path","description":"Composite key exchange-iid-type-quality: exchange is an Exchange code; iid is the integer instrument ID to subscribe; type is a PushSubscribeDataType (TR or OB); quality is a Quality value.","required":true,"schema":{"type":"string"},"example":"XPAR-12345-TR-BT"}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Status for subscription","content":{"application/json":{"schema":{"$ref":"#/components/schemas/pushSubscribeResponse"}}}}}}},"/productdirectory":{"get":{"tags":["others"],"summary":"Product Directory","description":"### Product Directory","operationId":"ProductDirectoryApi","parameters":[{"name":"label","in":"query","required":false,"schema":{"type":"string"}},{"name":"exchangeList","in":"query","description":"list of exchanges; the default quality is BT, but you can specify it for each exchange","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}},"example":["XPAR-DT","XAMS"]},{"name":"capitalizationList","in":"query","required":false,"schema":{"type":"string"}},{"name":"segmentList","in":"query","required":false,"schema":{"type":"string"}},{"name":"issuerCountryList","in":"query","required":false,"schema":{"type":"string"}},{"name":"countryGroupList","in":"query","required":false,"schema":{"type":"string"}},{"name":"industryList","in":"query","required":false,"schema":{"type":"string"}},{"name":"superSectorList","in":"query","required":false,"schema":{"type":"string"}},{"name":"sectorList","in":"query","required":false,"schema":{"type":"string"}},{"name":"subsectorList","in":"query","required":false,"schema":{"type":"string"}},{"name":"micList","in":"query","required":false,"schema":{"type":"string"}},{"name":"types","in":"query","description":"list of instrument type like stock...","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstrumentType"}},"example":["STOCK","WARRT"]},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"isHedgeFund","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"hasTradedToday","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Order"}},{"name":"sortfield","in":"query","required":false,"schema":{"$ref":"#/components/schemas/SortField"}},{"name":"isActiveSB","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"displayInstruments","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Product Directory","content":{"application/json":{"schema":{"$ref":"#/components/schemas/productDirectoryResponse"}}}}}}},"/portfolios/{portfolio-id}/performance/range":{"get":{"tags":["portfolios"],"summary":"Performance by range","description":"### Performance by range","operationId":"PerformanceByRangeApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"begin-date","in":"query","description":"range for the perf (YYYY-MM-DD)","required":true,"schema":{"type":"string","format":"date"}},{"name":"end-date","in":"query","description":"range for the perf (YYYY-MM-DD)","required":true,"schema":{"type":"string","format":"date"}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"get performance","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfolioPerformanceResponse"}}}}}}},"/portfolios/{portfolio-id}/performance/period":{"get":{"tags":["portfolios"],"summary":"Performance by period","description":"### Performance by period","operationId":"PerformanceByPeriodApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"period","in":"query","description":"period for the perf","required":true,"schema":{"$ref":"#/components/schemas/Period"}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"get performance","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfolioPerformanceResponse"}}}}}}},"/portfolios/{portfolio-id}/operations":{"get":{"tags":["portfolios"],"summary":"Operations by portfolioID","description":"### Operations by portfolio ID","operationId":"OperationsByPortfolioIDApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"get operations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfolioOperationsResponse"}}}}}}},"/portfolios/{portfolio-id}/lines/{line-id}/operations":{"get":{"tags":["portfolios"],"summary":"Operations by portfolioLineID","description":"### Operations by portfolioLine ID","operationId":"OperationsByPortfolioLineIDApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"line-id","in":"path","description":"ID of portfolioLine","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"get operations","content":{"application/json":{"schema":{"$ref":"#/components/schemas/portfolioLineOperationsResponse"}}}}}}},"/portfolios/{portfolio-id}/histo-valo/range":{"get":{"tags":["portfolios"],"summary":"HistoValo by range","description":"### HistoValo by range","operationId":"HistoValoByRangeApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"begin-date","in":"query","description":"range for the histoValo (YYYY-MM-DD)","required":true,"schema":{"type":"string","format":"date"}},{"name":"end-date","in":"query","description":"range for the histoValo (YYYY-MM-DD)","required":true,"schema":{"type":"string","format":"date"}},{"name":"index-key","in":"query","required":false,"schema":{"type":"string","example":"FR0003500008,XPAR,ISIN"}},{"name":"request-ope","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"first-histo-valo-only","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"get histoValo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/histoValoResponse"}}}}}}},"/portfolios/{portfolio-id}/histo-valo/period":{"get":{"tags":["portfolios"],"summary":"HistoValo by period","description":"### HistoValo by period","operationId":"HistoValoByPeriodApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"period","in":"query","description":"period for the histoValo","required":true,"schema":{"$ref":"#/components/schemas/Period"}},{"name":"index-key","in":"query","required":false,"schema":{"type":"string","example":"FR0003500008,XPAR,ISIN"}},{"name":"request-ope","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"first-histo-valo-only","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"get histoValo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/histoValoResponse"}}}}}}},"/portfolios/{portfolio-id}/histo-valo/performance":{"get":{"tags":["portfolios"],"summary":"HistoValoPerf","description":"### HistoValoPerf","operationId":"HistoValoPerfApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"periods","in":"query","description":"period list for the histoValoPerf","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/Period"}}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"get histoValoPerf","content":{"application/json":{"schema":{"$ref":"#/components/schemas/histoValoPerfResponse"}}}}}}},"/portfolios/ranking":{"get":{"tags":["portfolios"],"summary":"Get Palmares User By Period And External","description":"Get Palmares User By Period And External","operationId":"GetPalmaresUserByPeriodAndExternalRef","parameters":[{"name":"external-reference-suffix","in":"query","description":"sentence with which the names of the users should end","required":true,"schema":{"type":"string"}},{"name":"period","in":"query","description":"period","required":true,"schema":{"$ref":"#/components/schemas/Period"}},{"name":"limit","in":"query","description":"number of ptf to display (by default 10)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"get palmares user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/palmaresResponse"}}}}}}},"/portfolios/palmares":{"get":{"tags":["portfolios"],"summary":"Get portfolio ranking","description":"Get portfolio ranking by period, optionally filtered by portfolio reference and trading game.","operationId":"PortfoliosRankingApi","parameters":[{"name":"period","in":"query","description":"Ranking period","required":true,"schema":{"$ref":"#/components/schemas/Period"}},{"name":"limit","in":"query","description":"Number of portfolios to display","required":false,"schema":{"type":"integer"}},{"name":"portfolio-ref","in":"query","description":"Portfolio reference","required":false,"schema":{"type":"string"}},{"name":"trading-game","in":"query","description":"Use trading game ranking","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"Portfolio ranking returned","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/issuers":{"get":{"tags":["others"],"summary":"General List Issuer","description":"### General List Issuer","operationId":"ListApi","responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"List Element","content":{"application/json":{"schema":{"$ref":"#/components/schemas/listResponse"}}}}}}},"/instruments":{"get":{"tags":["instruments"],"summary":"Instrument Search","description":"### Instrument Search","operationId":"InstrumentSearchApi","parameters":[{"name":"exchanges","in":"query","description":"list of exchanges","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/Exchange"}},"example":["XPAR","XAMS"]},{"name":"types","in":"query","description":"list of instrument types","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstrumentType"}},"example":["STOCK","INDEX"]},{"name":"label","in":"query","description":"instrument label (example: WORLDLINE)","required":false,"schema":{"type":"string"}},{"name":"sort-field","in":"query","required":false,"schema":{"$ref":"#/components/schemas/SortField"}},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Order"}},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"},"example":1},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"},"example":20}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Instrument Search","content":{"application/json":{"schema":{"$ref":"#/components/schemas/instrumentSearchResponse"}}}}}}},"/instruments/{instrument-key}":{"get":{"tags":["instruments"],"summary":"Instrument Detail","description":"### Instrument Detail for the instrument-key","operationId":"InstrumentDetailApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Instrument Detail","content":{"application/json":{"schema":{"$ref":"#/components/schemas/instrumentDetailResponse"}}}}}}},"/instruments/{instrument-key}/state-histo":{"get":{"tags":["instruments"],"summary":"State Histo","description":"### State Histo for the instrument-key","operationId":"InstrumentStateHistoApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"State Histo list for instrument","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/stateHisto"}}}}}}}},"/instruments/{instrument-key}/intraday":{"get":{"tags":["instruments"],"summary":"Intraday Minutes","description":"### Intraday Minutes for the instrument-key","operationId":"IntradayMinutesApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"depth","in":"query","description":"0, 1...5, -1...","required":false,"schema":{"type":"integer"}},{"name":"resolution","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Resolution"}},{"name":"begin-time","in":"query","description":"null by default, example 09:00:00","required":false,"schema":{"type":"string"},"example":"09:00:00"},{"name":"end-time","in":"query","description":"null by default, example 17:30:00","required":false,"schema":{"type":"string"},"example":"17:30:00"},{"name":"sess-without-intraday","in":"query","description":"true","required":false,"schema":{"type":"boolean"}},{"name":"previous-closing","in":"query","description":"true","required":false,"schema":{"type":"boolean"}},{"name":"instrument-label","in":"query","description":"true","required":false,"schema":{"type":"boolean"}},{"name":"local-time","in":"query","description":"false","required":false,"schema":{"type":"boolean"}},{"name":"adjust-intraday","in":"query","description":"true","required":false,"schema":{"type":"boolean","default":true}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Intraday Minutes","content":{"application/json":{"schema":{"$ref":"#/components/schemas/intradayMinutesResponse"}}}}}}},"/instruments/{instrument-key}/intraday/trades":{"get":{"tags":["instruments"],"summary":"Intraday Trades","description":"### Intraday Trades for the instrument-key","operationId":"IntradayTradesApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"depth","in":"query","description":"0, 1...5, -1...","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Intraday Trades","content":{"application/json":{"schema":{"$ref":"#/components/schemas/intradayTradesResponse"}}}}}}},"/instruments/{instrument-key}/history/range":{"get":{"tags":["instruments"],"summary":"History by Range","description":"### History by Range for the instrument-key","operationId":"HistoryRangeApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"begin-date","in":"query","description":"format yyyy-MM-dd","required":true,"schema":{"type":"string","format":"date"},"example":"2023-01-01"},{"name":"end-date","in":"query","description":"format yyyy-MM-dd","required":true,"schema":{"type":"string","format":"date"},"example":"2023-01-31"},{"name":"granularity","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Granularity"}},{"name":"adjustment","in":"query","description":"adjust prices to corporate actions (e.g. stock splits)","required":false,"schema":{"type":"boolean","default":true}},{"name":"add-last-price","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Histo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/historyResponse"}}}}}}},"/instruments/{instrument-key}/history/range/indicators":{"get":{"tags":["instruments"],"summary":"History Indicators by Range","description":"### History Indicators by Range for the instrument-key","operationId":"HistoIndicatorsRangeApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"begin-date","in":"query","description":"format yyyy-MM-dd","required":true,"schema":{"type":"string","format":"date"},"example":"2023-01-01"},{"name":"end-date","in":"query","description":"format yyyy-MM-dd","required":true,"schema":{"type":"string","format":"date"},"example":"2023-01-31"},{"name":"granularity","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Granularity"}},{"name":"adjustment","in":"query","description":"adjust prices to corporate actions (e.g. stock splits)","required":false,"schema":{"type":"boolean","default":true}},{"name":"add-last-price","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"indicators","in":"query","description":"\"name-nbDays\" format","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}},"example":["MOVAVERAGE-3","MOVAVERAGE-6"]}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Histo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/historyIndicatorsResponse"}}}}}}},"/instruments/{instrument-key}/history/period":{"get":{"tags":["instruments"],"summary":"History by Period","description":"### History by Period for the instrument-key","operationId":"HistoryPeriodApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"period","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Period"}},{"name":"granularity","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Granularity"}},{"name":"adjustment","in":"query","description":"adjust prices to corporate actions (e.g. stock splits)","required":false,"schema":{"type":"boolean","default":true}},{"name":"add-last-price","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Histo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/historyResponse"}}}}}}},"/instruments/{instrument-key}/history/period/indicators":{"get":{"tags":["instruments"],"summary":"History Indicators by Period","description":"### History Indicators by Period for the instrument-key","operationId":"HistoIndicatorsPeriodApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"period","in":"query","required":true,"schema":{"$ref":"#/components/schemas/Period"}},{"name":"granularity","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Granularity"}},{"name":"adjustment","in":"query","description":"adjust prices to corporate actions (e.g. stock splits)","required":false,"schema":{"type":"boolean","default":true}},{"name":"add-last-price","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"indicators","in":"query","description":"\"name-nbDays\" format","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}},"example":["MOVAVERAGE-3","MOVAVERAGE-6"]}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Histo","content":{"application/json":{"schema":{"$ref":"#/components/schemas/historyIndicatorsResponse"}}}}}}},"/instruments/{instrument-key}/documents":{"get":{"tags":["instruments"],"summary":"Document Search for an instrument","description":"### Document Search for an instrument","operationId":"InstrDocumentSearchApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string","example":"FR0011981968,XPAR,ISIN"}},{"name":"label","in":"query","description":"label","required":false,"schema":{"type":"string"}},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"begin-date","in":"query","description":"format yyyy-MM-dd","required":false,"schema":{"type":"string","format":"date"}},{"name":"end-date","in":"query","description":"format yyyy-MM-dd","required":false,"schema":{"type":"string","format":"date"}},{"name":"categories","in":"query","description":"categories","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"providers","in":"query","description":"provider list","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"types","in":"query","description":"document type list","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentType"}}},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"invalid input, object invalid","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"Documents","content":{"application/json":{"schema":{"$ref":"#/components/schemas/documentSearchResponse"}}}}}}},"/instruments/{instrument-key}/corporate-actions":{"get":{"tags":["instruments"],"summary":"Corporate Action","description":"### Corporate Action for the instrument-key","operationId":"CorporateActionListForInstrumentApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0011981968,XPAR,ISIN"},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Corporate Action list for instrument","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/corporateAction"}}}}}}}},"/instruments/rankings/volume":{"get":{"tags":["instruments"],"summary":"Volume Ranking","description":"### Volume Ranking","operationId":"VolumeRankingApi","parameters":[{"name":"period","in":"query","description":"D, 1W, 1M...","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"},"example":"D"},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Order"}},{"name":"exchanges","in":"query","description":"list of exchanges","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/Exchange"}},"example":["XPAR","XAMS"]},{"name":"types","in":"query","description":"list of instrument types","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstrumentType"}},"example":["STOCK","INDEX"]},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rankingResponse"}}}}}}},"/instruments/rankings/variation":{"get":{"tags":["instruments"],"summary":"Variation Ranking","description":"### Variation Ranking","operationId":"VariationRankingApi","parameters":[{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"},"example":"D"},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Order"}},{"name":"exchanges","in":"query","description":"list of exchanges","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/Exchange"}},"example":["XPAR","XAMS"]},{"name":"types","in":"query","description":"list of instrument types","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstrumentType"}},"example":["STOCK","INDEX"]},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rankingResponse"}}}}}}},"/instruments/rankings/variation/top":{"get":{"tags":["instruments"],"summary":"Top Variation Ranking","description":"### Top Variation Ranking","operationId":"TopVariationRankingApi","parameters":[{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"},"example":"D"},{"name":"exchanges","in":"query","description":"list of exchanges","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/Exchange"}},"example":["XPAR","XAMS"]},{"name":"types","in":"query","description":"list of instrument types","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstrumentType"}},"example":["STOCK","INDEX"]},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rankingResponse"}}}}}}},"/instruments/rankings/variation/flop":{"get":{"tags":["instruments"],"summary":"Flop Variation Ranking","description":"### Flop Variation Ranking","operationId":"FlopVariationRankingApi","parameters":[{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"},"example":"D"},{"name":"exchanges","in":"query","description":"list of exchanges","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/Exchange"}},"example":["XPAR","XAMS"]},{"name":"types","in":"query","description":"list of instrument types","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstrumentType"}},"example":["STOCK","INDEX"]},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rankingResponse"}}}}}}},"/instruments/rankings/turnover":{"get":{"tags":["instruments"],"summary":"Turnover Ranking","description":"### Turnover Ranking","operationId":"TurnoverRankingApi","parameters":[{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"},"example":"D"},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Order"}},{"name":"exchanges","in":"query","description":"list of exchanges","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/Exchange"}},"example":["XPAR","XAMS"]},{"name":"types","in":"query","description":"list of instrument types","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/InstrumentType"}},"example":["STOCK","INDEX"]},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/rankingResponse"}}}}}}},"/indexes/{instrument-key}/rankings/volume":{"get":{"tags":["indexes"],"summary":"Volume Ranking for Index Compo","description":"### Volume Ranking for Index Compo","operationId":"IndexVolumeRankingApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0003500008,XPAR,ISIN"},{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"}},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Order"}},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/indexRankingResponse"}}}}}}},"/indexes/{instrument-key}/rankings/variation":{"get":{"tags":["indexes"],"summary":"Variation Ranking for Index Compo","description":"### Variation Ranking for Index Compo","operationId":"IndexVariationRankingApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0003500008,XPAR,ISIN"},{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"}},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Order"}},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/indexRankingResponse"}}}}}}},"/indexes/{instrument-key}/rankings/variation/top":{"get":{"tags":["indexes"],"summary":"Top Variation Ranking for Index Compo","description":"### Top Variation Ranking for Index Compo","operationId":"IndexTopVariationRankingApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0003500008,XPAR,ISIN"},{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"}},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/indexRankingResponse"}}}}}}},"/indexes/{instrument-key}/rankings/variation/flop":{"get":{"tags":["indexes"],"summary":"Flop Variation Ranking for Index Compo","description":"### Flop Variation Ranking for Index Compo","operationId":"IndexFlopVariationRankingApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0003500008,XPAR,ISIN"},{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"}},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/indexRankingResponse"}}}}}}},"/indexes/{instrument-key}/rankings/turnover":{"get":{"tags":["indexes"],"summary":"Turnover Ranking for Index Compo","description":"### Turnover Ranking for Index Compo","operationId":"IndexTurnoverRankingApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0003500008,XPAR,ISIN"},{"name":"period","in":"query","required":false,"schema":{"$ref":"#/components/schemas/RankingPeriod"}},{"name":"order","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Order"}},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Ranking","content":{"application/json":{"schema":{"$ref":"#/components/schemas/indexRankingResponse"}}}}}}},"/indexes/{instrument-key}/composition":{"get":{"tags":["indexes"],"summary":"Index Composition","description":"### Composition for the index (instrument-key)","operationId":"IndexCompositionApi","parameters":[{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"},"example":"FR0003500008,XPAR,ISIN"},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Index Composition","content":{"application/json":{"schema":{"$ref":"#/components/schemas/indexCompositionResponse"}}}}}}},"/exchanges/{exchange-code}":{"get":{"tags":["others"],"summary":"Exchange Info","description":"### Exchange Info","operationId":"ExchangeInfoApi","parameters":[{"name":"exchange-code","in":"path","required":true,"schema":{"$ref":"#/components/schemas/Exchange"}},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"date","in":"query","description":"yyyy-MM-dd format","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Exchange Info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/exchangeInfoResponse"}}}}}}},"/documents":{"get":{"tags":["documents"],"summary":"Document Search","description":"### Document Search","operationId":"DocumentSearchApi","parameters":[{"name":"label","in":"query","description":"label","required":false,"schema":{"type":"string"}},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"begin-date","in":"query","description":"yyyy-MM-dd format","required":false,"schema":{"type":"string","format":"date"}},{"name":"end-date","in":"query","description":"yyyy-MM-dd format","required":false,"schema":{"type":"string","format":"date"}},{"name":"categories","in":"query","description":"categories","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"providers","in":"query","description":"provider list","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"types","in":"query","description":"document type list","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"$ref":"#/components/schemas/DocumentType"}}},{"name":"page","in":"query","description":"page number (example: 1)","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"max items (example: 20)","required":false,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"Documents","content":{"application/json":{"schema":{"$ref":"#/components/schemas/documentSearchResponse"}}}}}}},"/documents/{document-id}":{"get":{"tags":["documents"],"summary":"Document Detail","description":"### Document Detail","operationId":"DocumentDetailApi","parameters":[{"name":"document-id","in":"path","description":"ID of document","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"Document","content":{"application/json":{"schema":{"$ref":"#/components/schemas/documentDetailResponse"}}}}}}},"/documents/providers":{"get":{"tags":["documents"],"summary":"Document Provider","description":"### Document Provider","operationId":"DocumentProviderApi","parameters":[{"name":"instrument-keys","in":"query","description":"list of instrument keys: code,exchange,codification (codification is optional)","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"Document Providers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/documentProviderResponse"}}}}}}},"/documents/categories":{"get":{"tags":["documents"],"summary":"Document Category","description":"### Document Category","operationId":"DocumentCategoryApi","parameters":[{"name":"category-type","in":"query","required":false,"schema":{"$ref":"#/components/schemas/DocumentCategoryType"}},{"name":"providers","in":"query","description":"provider list","required":false,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"Document Categories","content":{"application/json":{"schema":{"$ref":"#/components/schemas/documentCategoryResponse"}}}}}}},"/currencies/cross-conversion":{"get":{"tags":["others"],"summary":"Multi Cross","description":"### Multi Cross","operationId":"MultiCrossApi","parameters":[{"name":"crosses","in":"query","description":"cross list, where a cross is 'fromCurrency*toCurrency' (example: EURUSD)","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}},"example":["EURUSD","EURJPY"]},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Multi Cross","content":{"application/json":{"schema":{"$ref":"#/components/schemas/multiCrossResponse"}}}}}}},"/currencies/conversion":{"get":{"tags":["others"],"summary":"Cross Convert","description":"### Cross Convert","operationId":"CrossConvertApi","parameters":[{"name":"from","in":"query","description":"currency of value","required":true,"schema":{"$ref":"#/components/schemas/Currency"}},{"name":"to","in":"query","description":"currency to convert value into","required":true,"schema":{"$ref":"#/components/schemas/Currency"}},{"name":"value","in":"query","description":"value to convert","required":false,"schema":{"type":"number","default":1}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"date","in":"query","description":"yyyy-MM-dd format","required":false,"schema":{"type":"string","format":"date"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Conversion","content":{"application/json":{"schema":{"$ref":"#/components/schemas/crossConvertResponse"}}}}}}},"/best-price":{"get":{"tags":["others"],"summary":"Best Price","description":"### Best Price","operationId":"BestPriceApi","parameters":[{"name":"instrument-keys","in":"query","description":"list of instrument keys 'code,exchange,codification'","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"exchanges","in":"query","description":"list of exchanges; the default quality is BT, but you can specify it for each exchange","required":true,"style":"form","explode":true,"schema":{"type":"array","items":{"type":"string"}},"example":["XPAR-DT","XAMS"]},{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"algorithm","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Algorithm"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Best Price","content":{"application/json":{"schema":{"$ref":"#/components/schemas/bestPriceResponse"}}}}}}},"/aggregates/indexes/{instrument-key}":{"get":{"tags":["others"],"summary":"AggregateByIndex","description":"### AggregateByIndex","operationId":"AggregateByIndexApi","parameters":[{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"instrument-key","in":"path","description":"key is \"code,exchange,codification\", where codification is optional","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Aggregate","content":{"application/json":{"schema":{"$ref":"#/components/schemas/aggregateResponse"}}}}}}},"/aggregates/exchanges/{exchange}":{"get":{"tags":["others"],"summary":"AggregateByExchange","description":"### AggregateByExchange","operationId":"AggregateByExchangeApi","parameters":[{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"exchange","in":"path","description":"XPAR","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Aggregate","content":{"application/json":{"schema":{"$ref":"#/components/schemas/aggregateResponse"}}}}}}},"/aggregates/exchanges/{exchange}/instrument-types/{instrument-type}":{"get":{"tags":["others"],"summary":"AggregateByType","description":"### AggregateByType","operationId":"AggregateByTypeApi","parameters":[{"name":"view","in":"query","required":false,"schema":{"$ref":"#/components/schemas/View"}},{"name":"quality","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Quality"}},{"name":"mode","in":"query","required":false,"schema":{"$ref":"#/components/schemas/Mode"}},{"name":"exchange","in":"path","description":"XPAR","required":true,"schema":{"type":"string"}},{"name":"instrument-type","in":"path","description":"STOCK, BOND...","required":true,"schema":{"type":"string"}}],"responses":{"400":{"description":"bad input parameter"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token"},"200":{"description":"Aggregate","content":{"application/json":{"schema":{"$ref":"#/components/schemas/aggregateResponse"}}}}}}},"/watchlists/{watchlist-id}/lines/{line-id}":{"delete":{"tags":["watchlists"],"summary":"Remove instrument in watchlist","description":"### Remove instrument in watchlist","operationId":"RemoveInstrumentApi","parameters":[{"name":"watchlist-id","in":"path","description":"ID of watchlist","required":true,"schema":{"type":"integer"}},{"name":"line-id","in":"path","description":"ID of line to remove","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"bad input parameter","content":{}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"bad access token","content":{}},"200":{"description":"line removed"}}}},"/portfolios/{portfolio-id}/lines/{line-id}/last-operation":{"delete":{"tags":["portfolios"],"summary":"Delete last operation","description":"### Delete last operation","operationId":"DeleteLastOperationApi","parameters":[{"name":"portfolio-id","in":"path","description":"ID of portfolio","required":true,"schema":{"type":"integer"}},{"name":"line-id","in":"path","description":"ID of portfolioLine","required":true,"schema":{"type":"integer"}}],"responses":{"400":{"description":"invalid input, object invalid"},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"429":{"description":"Too Many Requests","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"403":{"description":"Forbidden","content":{"*/*":{"schema":{"$ref":"#/components/schemas/SmdApiError"}}}},"200":{"description":"lastOperation removed","content":{"*/*":{"schema":{"type":"string"}}}}}}}},"components":{"schemas":{"createAlertRequest":{"required":["instrument-key","notifications","triggers","user-id"],"type":"object","properties":{"user-id":{"type":"integer","example":123456},"instrument-key":{"type":"string","description":"Key is code,exchange,codification with code and exchange mandatory and codification optional.","example":"FR0011981968,XPAR"},"start":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-06 14:46:10"},"end":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-07 14:46:10"},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/alertTriggerRequest"}},"notifications":{"$ref":"#/components/schemas/alertNotificationsRequest"}}},"modifyAlertRequest":{"required":["end","instrument-key","start"],"type":"object","properties":{"alert-status":{"$ref":"#/components/schemas/AlertStatus"},"instrument-key":{"type":"string","description":"Key is code,exchange,codification with code and exchange mandatory and codification optional.","example":"FR0011981968,XPAR"},"start":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-06 14:46:10"},"end":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-07 14:46:10"},"triggers":{"type":"array","items":{"$ref":"#/components/schemas/alertTriggerRequest"}},"notifications":{"$ref":"#/components/schemas/alertNotificationsRequest"}},"description":"The alert ID is supplied in the path, not in the request body."},"alertTriggerRequest":{"type":"object","properties":{"type":{"type":"string","description":"AlertTriggerType name; JSON enum values are case-insensitive.","example":"VAR_SUP","enum":["VAR_SUP","VAR_INF","HIGH","LOW"]},"value":{"type":"number","format":"double","example":5}},"description":"Input trigger; distinct from the downstream trigger criterion. No nested required-field validation is declared by the DTO."},"alertNotificationsRequest":{"type":"object","properties":{"email":{"type":"string","example":"toto@worldline.com"},"phone":{"type":"string","example":"0612345678"}},"description":"Notification destinations. Neither field is required or format-validated by the DTO."},"createUserRequest":{"required":["external-reference"],"type":"object","properties":{"external-reference":{"minLength":1,"pattern":"\\S","type":"string","description":"Must contain at least one non-whitespace character.","example":"802155, toto..."},"email":{"type":"string","example":"toto@worldline.com"},"sms":{"type":"string","example":"0612345678"},"locale":{"type":"string","example":"FR"}}},"modifyUserRequest":{"type":"object","properties":{"email":{"type":"string","example":"toto@worldline.com"},"sms":{"type":"string","example":"0612345678"},"locale":{"type":"string","example":"FR"}}},"createWatchlistRequest":{"required":["user-id","watchlist-name"],"type":"object","properties":{"user-id":{"type":"integer","description":"User ID. The DTO declares @NotNull on a primitive int; omission currently leaves it at 0.","example":123456},"watchlist-name":{"minLength":1,"pattern":"\\S","type":"string","description":"Must contain at least one non-whitespace character.","example":"Watchlist 1"},"currency":{"type":"string","example":"EUR"},"external-reference":{"type":"string"},"profile":{"type":"string"}}},"modifyWatchlistRequest":{"type":"object","properties":{"watchlist-name":{"type":"string","example":"Watchlist 1"},"currency":{"type":"string","example":"EUR"},"external-reference":{"type":"string"},"profile":{"type":"string"}}},"instrumentDocumentSearchRequest":{"type":"object","properties":{"view":{"$ref":"#/components/schemas/View"},"instrumentKeys":{"type":"array","example":["FR0011981968,XPAR","FR0000051732,XPAR"],"items":{"type":"string","description":"Key is code,exchange,codification with code and exchange mandatory and codification optional."}},"label":{"type":"string"},"beginDate":{"type":"string","description":"format yyyy-MM-dd","format":"date"},"endDate":{"type":"string","description":"format yyyy-MM-dd","format":"date"},"categories":{"type":"array","items":{"type":"string"}},"providers":{"type":"array","example":["DJ","COFIS"],"items":{"type":"string"}},"types":{"type":"array","example":["NEWS","DETAIL_SOCIETE"],"items":{"$ref":"#/components/schemas/DocumentType"}},"page":{"type":"integer"},"limit":{"type":"integer"}},"description":"JSON body uses camelCase DTO property names. No field constraints or controller @Valid are declared; all criteria are optional at the binding/validation layer."},"document":{"type":"object","properties":{"documentID":{"type":"integer","description":"Identifier for the document"},"type":{"type":"string","description":"Instrument type - except in intraday request : contains MIN as minute, TRA as trade"},"subType":{"type":"string","description":"Instrument subtype"},"format":{"type":"string","description":"Format of the document"},"title":{"type":"string","description":"Title of the document"},"summary":{"type":"string","description":"Summary of the document"},"providerRef":{"type":"string","description":"Reference of the document in provider system"},"body":{"type":"string","description":"Body of the document"},"rawBody":{"type":"string","description":"Raw body of the document"},"binaryRawBody":{"type":"string","description":"Binary raw body of the document"},"providerLevel":{"type":"integer","description":"Level of the provider"},"dateTime":{"type":"string","description":"Date and time of the document"},"effectiveDate":{"type":"string","description":"Effective date of the document"},"updateDate":{"type":"string","description":"Last update of the alert"},"lastUpdate":{"type":"string","description":"Last update of the document"},"docCategory":{"type":"array","items":{"$ref":"#/components/schemas/docCategory"}},"externalRef":{"type":"array","description":"External references of the document","items":{"$ref":"#/components/schemas/externalRef"}},"specFeat":{"type":"array","items":{"$ref":"#/components/schemas/specFeat"}},"transcoDoc":{"type":"array","items":{"$ref":"#/components/schemas/transcoDoc"}},"docProvider":{"$ref":"#/components/schemas/docProvider"}}},"docCategory":{"type":"object","properties":{"categoryID":{"type":"integer","description":"Identifier for the document category"},"code":{"type":"string","description":"Label search ; for history : the label of instrument"},"label":{"type":"string","description":"Label of the document category"}}},"externalRef":{"type":"object","properties":{"externalRefID":{"type":"integer","description":"Identifier for the external reference"},"name":{"type":"string","description":"Name of the external reference"},"path":{"type":"string","description":"Path of the external reference"},"type":{"type":"string","description":"Instrument type - except in intraday request : contains MIN as minute, TRA as trade"},"title":{"type":"string","description":"Title of the external reference"},"body":{"type":"string","description":"Body of the external reference"},"subType":{"type":"string","description":"Instrument subtype of the external reference"},"date":{"type":"string","description":"Date of the external reference"}}},"transcoDoc":{"type":"object","properties":{"rank":{"type":"integer"},"transco":{"type":"array","description":"All identifiers (ISIN code, MNEMO Code,...) of an instrument","items":{"$ref":"#/components/schemas/transco"}}}},"docProvider":{"type":"object","properties":{"providerID":{"type":"integer","description":"Identifier for the document provider"},"code":{"type":"string","description":"Code of the document provider"},"name":{"type":"string","description":"Name of the document provider"}}},"documentDetailResponse":{"type":"object","properties":{"document":{"$ref":"#/components/schemas/document"}}},"documentSearchResponse":{"type":"object","properties":{"nbTotalResult":{"type":"integer"},"paginationParam":{"$ref":"#/components/schemas/pagination"},"document":{"type":"array","items":{"$ref":"#/components/schemas/document"}}}},"documentCategoryResponse":{"type":"array","items":{"$ref":"#/components/schemas/docCategory"}},"documentProviderResponse":{"type":"array","items":{"$ref":"#/components/schemas/docProvider"}},"Granularity":{"type":"string","enum":["W","2W","M","3M","6M","Y"]},"Mode":{"type":"string","enum":["SES","DCC"]},"Quality":{"type":"string","enum":["RT","DT","BT"]},"View":{"type":"string","enum":["FULL","LIGHT"]},"Period":{"type":"string","enum":["D","1D","6D","1W","52W","M","1M","3M","6M","Y","1Y","2Y","3Y","4Y","5Y","7Y","10Y","MAX","CREATION"]},"RankingPeriod":{"type":"string","enum":["15MN","30MN","1H","3H","D","1D","6D","1W","52W","M","1M","3M","6M","Y","1Y","2Y","3Y","4Y","5Y","7Y","10Y","MAX"]},"Resolution":{"type":"string","enum":["1MN","5MN","10MN","15MN","30MN","60MN"]},"DocumentType":{"type":"string","enum":["NEWS","DETAIL_SOCIETE","CONSENSUS","ANALYSE_TECHNIQUE","AGENDA","NOTICE"]},"DocumentCategoryType":{"type":"string","enum":["ALL","GEOGRAPHICAL_ZONE","WFI_CATEGORIES"]},"Order":{"type":"string","enum":["ASC","DES"]},"InstrumentType":{"type":"string","enum":["STOCK","INDEX","WARRT","TRACK","BOND","REPO","FUNDS","OPT","FUT","COMMO","CURR","RATE","CERTI"]},"SortField":{"type":"string","enum":["SHORT_NAME","LONG_NAME","SUB_TYPE","TYPE","ISSUER","EXCHANGE","DATE_TIME"]},"Currency":{"type":"string","enum":["AUD","CAD","CHF","CZK","DEM","DKK","EUR","GBP","GBX","HKD","HUF","IDR","ILS","JPY","MYR","NOK","NZD","RUR","SEK","SGD","THB","TRL","TRY","USD","ZAR"]},"PushSubscribeTarget":{"type":"object","enum":["REDIS"]},"CorporateActionType":{"type":"object","enum":["SPLIT","REVERSE_SPLIT","ALLOCATING_FREE_SHARES"]},"AlertStatus":{"type":"string","enum":["WAITED (1)","IN_PROGRESS (2)","EXPIRED (3)","CANCELLED (4)","SUSPENDED (5)","EXECUTED (6)"]},"Algorithm":{"type":"string","enum":["LAST_VALO"]},"Exchange":{"type":"string","enum":["XPAR","XAMS","XBRU","XLIS","XMCE","WDSTX","WMORN","XNAS","XNYS","XASE","XLON","XMIL","XSWX","WINDX","WFORX","WCOMO","WMPCB","XETR","XFRA"]},"instr":{"type":"object","properties":{"currInstrSess":{"$ref":"#/components/schemas/session"},"prevInstrSess":{"$ref":"#/components/schemas/session"},"transco":{"$ref":"#/components/schemas/transcoList"},"specFeat":{"$ref":"#/components/schemas/specFeat"},"stateHisto":{"$ref":"#/components/schemas/stateHisto"},"exchange":{"$ref":"#/components/schemas/exchange"},"instrRel":{"$ref":"#/components/schemas/instrRel"},"ordBook":{"$ref":"#/components/schemas/ordBook"},"trade":{"$ref":"#/components/schemas/trade"},"perf":{"$ref":"#/components/schemas/perf"},"tradingGroup":{"$ref":"#/components/schemas/tradingGroup"},"iid":{"type":"integer","description":"Internal ID of the instrument","example":1000727},"exchCode":{"type":"string","description":"Exchange code of the instrument","example":"XPAR"},"tradGrpID":{"type":"integer","description":"Trading group internal ID of the instrument","example":65},"tradGrpCode":{"type":"string","description":"Trading group code of the instrument","example":"11"},"longNm":{"type":"string","description":"Long name of the instrument","example":"ATOS"},"providerNm":{"type":"string","description":"Name of the provider","example":"ATOS"},"type":{"type":"string","description":"Type of the instrument - except in intraday request : contains MIN as minute, TRA as trade","example":"STOCK"},"subType":{"type":"string","description":"Subtype of the instrument","example":"CFIES"},"cfiCode":{"type":"string","description":"CFI code of the instrument","example":"ESVUFN"},"cfiCodeDecompOrder":{"type":"string","description":"Allow to decompose the CFI code","example":"CFIVotingRight,CFIOwnership,CFIPaymentStatus,CFIForm"},"currency":{"type":"string","description":"Currency of the instrument","example":"EUR"},"faceVal":{"type":"integer","description":"Interest rates on the nominal requirement that the investor will receive","example":1},"faceValCur":{"type":"string","description":"Currency interest rate","example":"EUR"},"issuePx":{"type":"number","description":"Price at which investors buy the bond at its opening","example":85.02},"issuerCtry":{"type":"string","description":"Country of the issuer","example":"FRA"},"countryGroup":{"type":"string","description":"Country group for the search","example":"Europe"},"isSRDTradable":{"type":"boolean","description":"Deferred settlement service developed by the Paris Bourse","example":true},"isISAEligibility":{"type":"boolean","description":"Indicates if the instrument is eligible for ISA","example":true},"marketOfReference":{"type":"string","description":"Main market of the instrument","example":"XPAR"},"priceUnitType":{"type":"string","description":"Price unit type (Currency, Percent...)","example":"CUR"},"qtyNotat":{"type":"string","description":"Quantity notation","example":"UNT"},"strikePx":{"type":"integer","description":"Exercise price","example":0},"tradLot":{"type":"integer","description":"Trading lot","example":1},"listed":{"type":"boolean","description":"Indicates if the instrument is listed","example":true},"listBeginDt":{"type":"string","description":"Beginning date of active state of an instrument","example":"20190925"},"nbShare":{"type":"integer","description":"Number of shares","example":110763699},"accuracy":{"type":"integer","description":"Decimal number to show","example":2},"tickSizeRule":{"type":"string","description":"Rules for applicate the tickSize","example":"ERX_24"},"quality":{"$ref":"#/components/schemas/Quality"}}},"session":{"type":"object","properties":{"sessionType":{"type":"string","description":"Session type (CUR, DCC...)","example":"CUR, DCC..."},"dateTime":{"type":"string","description":"Date and time of the session","example":"20220706-14:46:10"},"quotationState":{"type":"string","description":"Quotation state of the session","example":"AUT"},"quality":{"$ref":"#/components/schemas/Quality"},"lastPx":{"type":"number","description":"Last known price of the instrument","example":11.34},"lastQty":{"type":"integer","description":"Last known quantity of the instrument","example":200},"openPx":{"type":"number","description":"Opening price of the considered Period","example":10.7},"openQty":{"type":"integer","description":"Opening quantity of the considered Period","example":35},"openDtTm":{"type":"string","description":"Opening date and time of the considered Period","example":"20220706-09:00:27"},"indiOpenPx":{"type":"number","description":"Indicative opening price","example":10.7},"indiOpenPxDtTm":{"type":"string","description":"Date and time of the indicative opening price","example":"20220706-09:00:20"},"closPx":{"type":"number","description":"Closing price of the considered period","example":10.355},"risVarLim":{"type":"number","description":"Upper variation limit","example":11.905},"falVarLim":{"type":"number","description":"Lower variation limit","example":10.775},"tradedQty":{"type":"number","description":"Traded quantity since the beginning of the period","example":1891998},"nbTrades":{"type":"integer","description":"Number of trades since the beginning of the period","example":6282},"lastUpdate":{"type":"string","description":"Last update date and time of the session","example":"20220706-14:46:10"},"valorization":{"type":"number","description":"Current valorization of the instrument","example":11.34},"valorizationDateTime":{"type":"string","description":"Date and time of the current valorization","example":"20220706-14:46:10"},"marketCapitalization":{"type":"number","description":"Market capitalization","example":1256060346.66},"exchangedCapitalisation":{"type":"number","description":"Exchanged capitalisation of the instrument","example":1.70813905375262},"prevAdjClosingPrice":{"type":"number","description":"Previous adjusted closing price of the instrument","example":10.335},"prevAdjClosingDateTime":{"type":"string","description":"Date and time of the previous adjusted closing price","example":"20220706-03:01:15"},"instrTradingStatus":{"type":"string","description":"Trading status of the instrument","example":"CON, CLO..."},"haltReason":{"type":"string","description":"Reason for the trading halt","example":"0"},"actionAffectingState":{"type":"string","description":"Action affecting the state of the instrument","example":"4"},"progOpeningTime":{"type":"string","description":"Programmed opening time of the instrument","example":"09:00:27"},"vwap":{"type":"number","description":"Volume Weighted Average Price of the instrument","example":10.9943},"tickSizeRule":{"type":"string","description":"tickSize rules code to","example":"ERX_24"}}},"transcoList":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"Code of the instrument","example":"FR0000051732"},"codification":{"type":"string","description":"Type of the code (isin, mnemo, ...)","example":"ISIN"},"exchCode":{"type":"string","description":"Exchange code of the instrument","example":"XPAR"}}}},"specFeat":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string","description":"Field expressed","example":"Field"},"fieldType":{"type":"string","description":"Type of the field","example":"Type"},"value":{"type":"string","description":"Value of the data","example":"Value"}}}},"exchange":{"type":"array","items":{"type":"object","properties":{"exchID":{"type":"integer","description":"Internal ID of the exchange","example":1},"exchCd":{"type":"string","description":"Code of the exchange","example":"XPAR"},"exchlbl":{"type":"string","description":"Label of the exchange","example":"Nyse Euronext - Euronext Paris"},"exchlvl":{"type":"integer","description":"Level of the exchange","example":1},"refIdx":{"type":"string","description":"Reference index of the exchange","example":"CAC40"},"ownExchId":{"type":"integer","description":"Internal ID of the owner exchange","example":0}}}},"stateHisto":{"type":"array","items":{"type":"object","properties":{"stateDt":{"type":"string","description":"Date and time of the instrument state","example":"20201019-18:01:45"},"stateId":{"type":"string","description":"Instrument state","example":"HAL"}}}},"tradingGroup":{"type":"object","properties":{"tradingGroupCode":{"type":"string","description":"Code of the trading group","example":"11"},"instrumentType":{"type":"string","description":"Type of the instrument belonging to the trading group","example":"STOCK"}}},"instrRel":{"type":"array","items":{"type":"object","properties":{"instrLst":{"$ref":"#/components/schemas/instrLst"}}}},"instrLst":{"type":"object","properties":{"transco":{"$ref":"#/components/schemas/transcoList"},"listIndex":{"$ref":"#/components/schemas/transco"},"lstType":{"type":"string","description":"List type (NDX for index, SEC for sector...)","example":"SEC, NDX"},"lstCd":{"type":"string","description":"List code (Internal ID for NDX, sector code for SEC...)","example":"9000, FR0003500008"},"lstOwner":{"type":"string","description":"List owner (Public for NDX, ICB for SEC...)","example":"ICB, PUBLIC"},"lstLbl":{"type":"string","description":"Label of the list","example":"TECHNOLOGIE, CAC 40"},"lstLvl":{"type":"integer","description":"Level of the list - only for SEC","example":1},"lastUpdate":{"type":"string","description":"Date and time of the last data update","example":"20220711-09:00:00"}}},"transco":{"type":"object","properties":{"code":{"type":"string","description":"Code of the instrument","example":"FR0003500008"},"codification":{"type":"string","description":"Type of the code (isin, mnemo, ...)","example":"ISIN"},"extCode":{"type":"string","description":"External code of the instrument","example":"REF (optional)"},"exchCode":{"type":"string","description":"Exchange code of the instrument","example":"XPAR"}}},"ordBook":{"type":"object","properties":{"ordBkLnAsk":{"$ref":"#/components/schemas/orderBookLine"},"ordBkLnBid":{"$ref":"#/components/schemas/orderBookLine"},"bsBidPx":{"type":"number","description":"Best bid price of the instrument","example":11.625},"bsBidQty":{"type":"number","description":"Best bid quantity of the instrument","example":1165},"bsBidDtTm":{"type":"string","description":"Date and time of the best bid","example":"20220711-09:00:00"},"indBidPx":{"type":"number","description":"Indicative bid price of the instrument","example":1150},"indBidPxDtTm":{"type":"string","description":"Date and time of the indicative bid","example":"20220711-09:00:00"},"bsAskPx":{"type":"number","description":"Best ask price of the instrument","example":11.64},"bsAskQty":{"type":"number","description":"Best ask quantity of the instrument","example":796},"bsAskDtTm":{"type":"string","description":"Date and time of the best ask","example":"20220711-09:00:00"},"indAskPx":{"type":"number","description":"Indicative ask price of the instrument","example":1150},"indAskPxDtTm":{"type":"string","description":"Date and time of the indicative ask","example":"20220711-09:00:00"},"midPx":{"type":"number","description":"Mid price of the instrument","example":1150},"lastUpdate":{"type":"string","description":"Date and time of the last update","example":"20220711-09:00:00"},"sessionType":{"type":"string","description":"Type of the trading session","example":"CUR, DCC"},"askVariation":{"type":"number","description":"Variation of the ask price","example":1.92},"bidVariation":{"type":"number","description":"Variation of the bid price","example":1.79},"askVariationAbs":{"type":"number","description":"Absolute variation of the ask price","example":11.64},"bidVariationAbs":{"type":"number","description":"Absolute variation of the bid price","example":12.35},"tickSize":{"type":"number","description":"Set the number of decimals to display for the price","example":2},"tickSizeRule":{"type":"string","description":"Rule for determining the tick size","example":"ERX_72"}}},"orderBookLine":{"type":"array","items":{"type":"object","properties":{"ordLst":{"$ref":"#/components/schemas/orderList"},"qty":{"type":"number","description":"Quantity of the order","example":796},"nbOrd":{"type":"integer","description":"Number of orders","example":6},"px":{"type":"number","description":"Price of the order","example":11.64},"tradID":{"type":"string","description":"ID of the trade","example":"1"},"lastUpdate":{"type":"string","description":"Date and time of the last update","example":"20220711-09:00:00"},"type":{"type":"string","description":"Instrument type - except in intraday request : contains MIN as minute, TRA as trade","example":"N"},"dateTime":{"type":"string","description":"Date and time of the trade","example":"20220711-09:00:00"},"liquidityProvider":{"type":"boolean","description":"Indicates if the trade was provided by a liquidity provider","example":false}}}},"orderList":{"type":"array","items":{"type":"object","properties":{"qty":{"type":"number","description":"Quantity of the order","example":796},"px":{"type":"number","description":"Price of the order","example":11.64},"priorityDateTime":{"type":"string","description":"Priority date and time of the order","example":"20220711-09:00:00"}}}},"trade":{"type":"array","items":{"type":"object","properties":{"trdDtTm":{"type":"string","description":"Date and time of the trade","example":"20220711-09:00:00"},"trdDtTmRk":{"type":"integer","description":"Number of the trade in the same date and time","example":2909},"tradedQty":{"type":"number","description":"Traded quantity since the beginning of the period","example":60},"trdPx":{"type":"number","description":"Price of the trade","example":11.625},"buyID":{"type":"string","description":"Internal ID of the buyer","example":"1"},"sellID":{"type":"string","description":"Internal ID of the seller","example":"1"},"lastUpdate":{"type":"string","description":"Date and time of the last update","example":"20220711-09:00:00"},"provTrdID":{"type":"integer","description":"Internal ID of the provided trade","example":744705},"trdStatus":{"type":"string","description":"Status of the trade","example":"VAL, DEL"},"tradeType":{"type":"string","description":"Type of the provider trade"},"tradeMarket":{"type":"string","description":"Market of the trade: NSC or TCS","example":"NSC"}}}},"perf":{"type":"array","items":{"type":"object","properties":{"perType":{"type":"string","description":"Type of the performance period","example":"D, P, 1W..."},"perStartDtTm":{"type":"string","description":"Start date and time of the performance period","example":"20220711-09:00:00"},"perStartPx":{"type":"number","description":"Reference price of the performance period","example":12.005},"var":{"type":"number","description":"Variation of quote (in %)","example":0.02124115},"pxVar":{"type":"number","description":"Absolute variation of quote (in price)","example":0.255},"highPx":{"type":"number","description":"Highest price of the performance period","example":12.585},"highPxQty":{"type":"number","description":"Quantity at the highest price of the performance period","example":50},"highPxDtTm":{"type":"string","description":"Date and time of the highest price of the performance period","example":"20220711-09:00:00"},"lowPx":{"type":"number","description":"Lowest price of the performance period","example":11.805},"lowPxQty":{"type":"number","description":"Quantity at the lowest price of the performance period","example":50},"lowPxDtTm":{"type":"string","description":"Date and time of the lowest price of the performance period","example":"20220711-09:00:00"},"tradedQty":{"type":"number","description":"Traded quantity during the performance period","example":1659551},"tradedAmt":{"type":"number","description":"Traded amount during the performance period","example":20218191.4},"nbOpenDays":{"type":"integer","description":"Number of open days over the performance period","example":20},"updateMd":{"type":"string","description":"Update mode of the performance period","example":"I"},"lastQuotDtTm":{"type":"string","description":"The last quotation known on the period","example":"20220711-09:00:00"},"lastUpdate":{"type":"string","description":"Date and time of the last update","example":"20220711-09:00:00"},"nationalSharesTraded":{"type":"number","description":"Number of national shares traded during the performance period"},"sessionType":{"type":"string","description":"Type of the trading session","example":"DCC"},"volatHisto":{"type":"number","description":"Historical volatility"},"ratioInfoHisto":{"type":"number","description":"Historical information ratio"},"trackingErrorHisto":{"type":"number","description":"Historical tracking error"},"ratioSharpeHisto":{"type":"number","description":"Historical Sharpe ratio"},"theoriticalOpeningVar":{"type":"number","description":"Theoretical opening variation"},"vwap":{"type":"number","description":"Volume Weighted Average Price","example":12.1829}}}},"intradayPointMinute":{"type":"object","properties":{"time":{"type":"string","description":"Date and time of the intraday point"},"nbTrade":{"type":"integer","description":"Number of trades during the intraday point"},"beginPx":{"type":"number","description":"Beginning price of the intraday point"},"beginTime":{"type":"string","description":"Beginning time of the intraday point"},"endPx":{"type":"number","description":"Ending price of the intraday point"},"endTime":{"type":"string","description":"Ending time of the intraday point"},"highPx":{"type":"number","description":"Highest price of the intraday point"},"lowPx":{"type":"number","description":"Lowest price of the intraday point"},"beginAskPx":{"type":"number","description":"Beginning ask price of the intraday point"},"beginAskTime":{"type":"string","description":"Beginning ask time of the intraday point"},"endAskPx":{"type":"number","description":"Ending ask price of the intraday point"},"endAskTime":{"type":"string","description":"Ending ask time of the intraday point"},"highAskPx":{"type":"number","description":"Highest ask price of the intraday point"},"lowAskPx":{"type":"number","description":"Lowest ask price of the intraday point"},"beginBidPx":{"type":"number","description":"Beginning bid price of the intraday point"},"beginBidTime":{"type":"string","description":"Beginning bid time of the intraday point"},"endBidPx":{"type":"number","description":"Ending bid price of the intraday point"},"endBidTime":{"type":"string","description":"Ending bid time of the intraday point"},"highBidPx":{"type":"number","description":"Highest bid price of the intraday point"},"lowBidPx":{"type":"number","description":"Lowest bid price of the intraday point"},"vol":{"type":"number","description":"Volume of the intraday point"},"amt":{"type":"number","description":"Amount of the intraday point"},"previousClosingPx":{"type":"number","description":"Previous closing price of the intraday point"},"previousClosingDt":{"type":"string","description":"Previous closing date of the intraday point"}}},"intradayPointTrade":{"type":"object","properties":{"time":{"type":"string","description":"Date and time of the intraday point trade"},"beginPx":{"type":"number","description":"Beginning price of the intraday point trade"},"vol":{"type":"number","description":"Volume of the intraday point trade"},"amt":{"type":"number","description":"Amount of the intraday point trade"},"tradeStatus":{"type":"string","description":"Status of the intraday point trade","example":"Normal, Deleted..."},"tradeType":{"type":"string","description":"Type of the intraday point trade provider "},"provTrdID":{"type":"string","description":"Internal ID of the trade provider"}}},"historyDt":{"type":"object","properties":{"dt":{"type":"string","description":"Date of the historical data","example":"20220627"},"beginDt":{"type":"string","description":"Beginning date of the historical data","example":"20220627"},"openPx":{"type":"number","description":"Opening price of the instrument","example":37.5},"closePx":{"type":"number","description":"Closing price of the instrument","example":38.59},"highPx":{"type":"number","description":"Highest price of the instrument","example":39.25},"lowPx":{"type":"number","description":"Lowest price of the instrument","example":37.5},"lastPx":{"type":"number","description":"Last known price of the instrument","example":38.59},"qty":{"type":"number","description":"Quantity of the instrument","example":2773433},"volNbTrade":{"type":"number","description":"Number of trades during the historical data period","example":20483},"volCap":{"type":"number","description":"Volume capitalization of the instrument","example":107074396.589999},"var":{"type":"number","description":"Quote variation (in %)"},"setPx":{"type":"number","description":"Settlement price of the instrument"},"openInterest":{"type":"number","description":"Open interest for the derivative"},"netRet":{"type":"number","description":"Net return of an index"},"grossRet":{"type":"number","description":"Gross return of an index"},"closCap":{"type":"number","description":"Closing capitalization of an index at the end of the day"},"turn":{"type":"number","description":"Turnover of the instrument on the considered period"},"tickSize":{"type":"number","description":"Number of decimals to show for the price"},"tickSizeRule":{"type":"string","description":"Rule for determining the tick size","example":"ERX_24"},"vwap":{"type":"number","description":"Volume Weighted Average Price of the instrument"}}},"indicators":{"type":"object","properties":{"indicator":{"type":"array","items":{"$ref":"#/components/schemas/indicator"}},"dt":{"type":"string","description":"Date of the day","example":"20220627"}}},"indicator":{"type":"object","properties":{"name":{"type":"string","description":"Filter name"},"nbDays":{"type":"integer","description":"Number of days for the indicator"},"value":{"type":"number","description":"Value of the data"}}},"ranking":{"type":"object","properties":{"accuracy":{"type":"integer","description":"Decimal number to show"},"tickSize":{"type":"number","description":"Number of decimals to show for the price"},"tickSizeRule":{"type":"string","description":"Rule for determining the tick size"},"lastPrice":{"type":"number","description":"Last price of the instrument"},"highPrice":{"type":"number","description":"Highest price of the instrument"},"lowPrice":{"type":"number","description":"Lowest price of the instrument"},"openPrice":{"type":"number","description":"Opening price of the instrument"},"tradedQuantity":{"type":"number","description":"Traded quantity of the instrument"},"tradedAmount":{"type":"number","description":"Traded amount of the instrument"},"variation":{"type":"number","description":"Variation from previous close price of the instrument"},"lastQuotation":{"type":"string","description":"For Ranking: Last quotation date and time of the instrument"},"nbShare":{"type":"integer","description":"Number of shares of the instrument"},"marketCap":{"type":"number","description":"Market capitalization of the instrument"},"instr":{"$ref":"#/components/schemas/instr"}}},"corporateAction":{"type":"object","properties":{"date":{"type":"string","description":"Date of the corporate action"},"caType":{"type":"string","description":"Type of the corporate action"},"netAmount":{"type":"number","description":"Net amount"},"grossAmount":{"type":"number","description":"Gross amount"},"currency":{"type":"string","description":"Currency of the instrument"},"adjustmentFactor":{"type":"number","description":"Adjustment factor for the corporate action"},"description":{"type":"string","description":"Description of the corporate action"},"allocatedSecuritiesNumber":{"type":"integer","description":"Number of allocated securities"},"ownSecuritiesNumber":{"type":"integer","description":"Number of own securities"},"linkIid":{"type":"integer","description":"Link IID"},"taxCredit":{"type":"number","description":"Tax credit of the last coupon"}}},"instrSearch":{"type":"object","properties":{"resultPerInstrType":{"type":"array","description":"Number of items per instrument type returned in the search","items":{"type":"object","properties":{"name":{"type":"string","description":"Filter name"},"value":{"type":"string","description":"Filter value"}}}},"resultPerInstrSubType":{"type":"array","description":"Number of items per instrument subtype returned in the search","items":{"type":"object","properties":{"name":{"type":"string","description":"Filter name"},"value":{"type":"string","description":"Filter value"}}}},"resultPerInstrCountry":{"type":"array","description":"Number of items per instrument country returned in the search","items":{"type":"object","properties":{"name":{"type":"string","description":"Filter name"},"value":{"type":"string","description":"Filter value"}}}},"instr":{"type":"array","description":"Detail of an instrument","items":{"$ref":"#/components/schemas/instr"}}}},"esFilters":{"type":"object","properties":{"instrumentTypeList":{"type":"string","description":"Instrument type list","example":"STOCK, WARRT"},"micList":{"type":"string","description":"MIC code list","example":"XPAR, XAMS, XLIS"},"countryGroupList":{"type":"string","description":"Country group list","example":"Europe"},"exchangeList":{"type":"string","description":"Exchange list","example":"XPAR, XAMS"},"segmentList":{"type":"string","description":"Market segment list"},"capitalizationList":{"type":"string","description":"Capitalization list"},"subTypeList":{"type":"string","description":"Instrument subtype list","example":"CFICE, CFIES"},"industryList":{"type":"string","description":"Industry list"},"productNameList":{"type":"string","description":"Product name list"},"superSectorList":{"type":"string","description":"Super sector list"},"sectorList":{"type":"string","description":"Sector list"},"subsectorList":{"type":"string","description":"Subsector list"},"maturityList":{"type":"string","description":"Maturity list"},"tradingTypeList":{"type":"string","description":"Trading type list"},"issuerNameList":{"type":"string","description":"Issuer name list"},"issuerTypeList":{"type":"string","description":"Issuer type list"},"segLvl1List":{"type":"string","description":"Segmentation level 1 list"},"segLvl2List":{"type":"string","description":"Segmentation level 2 list"},"segLvl3List":{"type":"string","description":"Segmentation level 3 list"},"productSegmentList":{"type":"string","description":"Product segment list"},"strategyList":{"type":"string","description":"Strategy list"},"indiceTypeList":{"type":"string","description":"Index type list"},"minStrikePrice":{"type":"string","description":"Minimum strike price"},"maxStrikePrice":{"type":"string","description":"Maximum strike price"},"promoterList":{"type":"string","description":"Promoter list","example":"Schroder Investment Management (Europe) S.A.,JPMorgan Asset Management (Europe) S.à r.l."},"currencyList":{"type":"string","description":"Currency list","example":"EUR, USD"},"hedgeList":{"type":"string","description":"Hedge list"},"morningStarCategoryIdList":{"type":"string","description":"Morningstar category ID list","example":"EUCA000771,EUCA000539"},"accumulatedOrIncomeDistribution":{"type":"string","description":"Accumulated or income distribution","example":"Accumulated,Income,Unknown"},"minOngoingCharges":{"type":"string","description":"Minimum ongoing charges","example":"0.0"},"maxOngoingCharges":{"type":"string","description":"Maximum ongoing charges","example":"100.0"},"morningStarRatingList":{"type":"string","description":"Morningstar rating list","example":"1,2,3,3,4,5"},"fundRiskList":{"type":"string","description":"Fund risk list","example":"1,2,3,4,5,6,7"},"countryOfDistributionList":{"type":"string","description":"Country of distribution list"},"eusipiaNameList":{"type":"string","description":"Eusipia name list"},"timeToExpiryList":{"type":"string","description":"Time to expiry list"},"underlyingDesignationList":{"type":"string","description":"Underlying designation list"},"underlyingGroupName":{"type":"string","description":"Underlying group name"},"underlyingTypeList":{"type":"string","description":"Underlying type list"},"underlyingCountryList":{"type":"string","description":"Underlying country list"},"openingTimeList":{"type":"string","description":"Opening time list"},"closingTimeList":{"type":"string","description":"Closing time list"},"professionalInvestorsFlagList":{"type":"string","description":"Professional investors flag list"},"indexFamilyList":{"type":"string","description":"Index family list"},"sectorLevelList":{"type":"string","description":"Sector level list"},"couponTypeList":{"type":"string","description":"Coupon type list"},"issuerCountryList":{"type":"string","description":"Issuer country list","example":"FRA, IRL"},"instrIndicesLabelsList":{"type":"string","description":"Index label list"},"instrIndicesIssuersList":{"type":"string","description":"Index issuer list"},"morningStarCategoryESList":{"type":"string","description":"Morningstar category (ES) list","example":"Mixtos Otros,RF Otros,RV Global Cap. Grande Blend,RF Global Emergente"},"fundCompanyIdList":{"type":"string","description":"Fund company ID list","example":"0C000034II,0C0000AGS4,0C0000BNFE"},"broadClassList":{"type":"string","description":"Broad class list","example":"Equity,Fixed Income,Allocation"},"globalCategoryIdList":{"type":"string","description":"Global category ID list","example":"$GC$GLOBFI,$GC$GLEQLC,$GC$EUROFI"},"minPerfYear":{"type":"string","description":"Minimum 1-year performance","example":"-99.41130065917969"},"maxPerfYear":{"type":"string","description":"Maximum 1-year performance","example":"1031.1064453125"},"minPerfYear3":{"type":"string","description":"Minimum 3-year performance","example":"-99.73079681396484"},"maxPerfYear3":{"type":"string","description":"Maximum 3-year performance","example":"1151.806884765625"},"minPerfYear5":{"type":"string","description":"Minimum 5-year performance","example":"-99.9989013671875"},"maxPerfYear5":{"type":"string","description":"Maximum 5-year performance","example":"1145.21044921875"},"minPerfDay":{"type":"string","description":"Minimum daily performance","example":"-22.311899185180664"},"maxPerfDay":{"type":"string","description":"Maximum daily performance","example":"13.157600402832031"},"minReturn":{"type":"string","description":"Minimum return"},"maxReturn":{"type":"string","description":"Maximum return"},"compLongNameList":{"type":"string","description":"Company long name list"},"groupNameList":{"type":"string","description":"Group name list"},"periodList":{"type":"string","description":"Period list"}}},"historyResponse":{"type":"object","properties":{"transco":{"$ref":"#/components/schemas/transco"},"history":{"type":"object","properties":{"historyDt":{"type":"array","items":{"$ref":"#/components/schemas/historyDt"}},"accuracy":{"type":"integer","example":2},"currency":{"type":"string","example":"EUR"}}},"status":{"type":"integer","example":0},"entityID":{"type":"string","example":"wfi"},"view":{"type":"string","example":"HISTORY"},"beginningDate":{"type":"string","example":"20220627"},"endingDate":{"type":"string","example":"20220727"},"period":{"type":"string","example":"1M"}}},"historyIndicatorsResponse":{"type":"object","properties":{"transco":{"$ref":"#/components/schemas/transco"},"history":{"type":"object","properties":{"historyDt":{"type":"array","items":{"$ref":"#/components/schemas/indicators"}},"accuracy":{"type":"integer","example":2},"currency":{"type":"string","example":"EUR"}}},"indicatorName":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"nbDays":{"type":"integer"}}}},"status":{"type":"integer","example":0},"entityID":{"type":"string","example":"wfi"},"view":{"type":"string","example":"INDICATOR"},"beginningDate":{"type":"string","example":"20220628"},"endingDate":{"type":"string","example":"20220728"},"period":{"type":"string","example":"1M"}}},"instrumentDetailResponse":{"type":"object","properties":{"instr":{"type":"array","items":{"$ref":"#/components/schemas/instr"}},"status":{"type":"integer","example":0},"entityID":{"type":"string","example":"wfi"},"view":{"$ref":"#/components/schemas/View"},"sessionQuality":{"$ref":"#/components/schemas/Quality"}}},"instrumentSearchResponse":{"type":"object","properties":{"instrSearch":{"$ref":"#/components/schemas/instrSearch"},"status":{"type":"integer"},"entityID":{"type":"integer"},"view":{"$ref":"#/components/schemas/View"},"sessionQuality":{"$ref":"#/components/schemas/Quality"},"nbTotal":{"type":"integer"}}},"rankingResponse":{"type":"object","properties":{"nbTotal":{"type":"integer"},"betterDateTime":{"type":"string"},"paginationParam":{"$ref":"#/components/schemas/pagination"},"rnkVal":{"type":"array","items":{"$ref":"#/components/schemas/ranking"}}}},"intradayMinutesResponse":{"type":"object","properties":{"intradayPoint":{"type":"array","items":{"$ref":"#/components/schemas/intradayPointMinute"}},"status":{"type":"integer","example":0},"entityID":{"type":"string","example":"wfi"},"view":{"$ref":"#/components/schemas/View"},"sessionQuality":{"$ref":"#/components/schemas/Quality"},"currency":{"type":"string","example":"EUR"},"accuracy":{"type":"integer","example":2},"tickSizeRule":{"type":"string","example":"ERX_24"},"label":{"type":"string","example":"WORLDLINE"}}},"intradayTradesResponse":{"type":"object","properties":{"intradayPoint":{"type":"array","items":{"$ref":"#/components/schemas/intradayPointTrade"}},"status":{"type":"integer","example":0},"entityID":{"type":"string","example":"wfi"},"view":{"$ref":"#/components/schemas/View"},"sessionQuality":{"$ref":"#/components/schemas/Quality"},"currency":{"type":"string","example":"EUR"},"accuracy":{"type":"integer","example":2},"tickSizeRule":{"type":"string"}}},"indexCompositionResponse":{"type":"object","properties":{"instrSearch":{"$ref":"#/components/schemas/instrSearch"},"status":{"type":"integer"},"entityID":{"type":"string"},"view":{"$ref":"#/components/schemas/View"},"sessionQuality":{"$ref":"#/components/schemas/Quality"},"nbTotal":{"type":"integer"}}},"indexRankingResponse":{"type":"object","properties":{"nbTotal":{"type":"integer"},"betterDateTime":{"type":"string"},"paginationParam":{"$ref":"#/components/schemas/pagination"},"rnkVal":{"type":"array","example":"ERX_24","items":{"$ref":"#/components/schemas/ranking"}}}},"cross":{"type":"object","properties":{"crossName":{"type":"string","example":"EURUSD"},"crossRate":{"type":"number","example":1.25}},"description":"Cross value of currencies rates"},"pagination":{"type":"object","properties":{"nbItems":{"type":"integer","description":"Number of elements in the response","example":120},"offset":{"type":"integer","description":"Corresponds to the page number of the response","example":1}}},"exchangeInfo":{"type":"object","properties":{"label":{"type":"string","description":"Label search ; for history : the label of instrument"},"sessionStartTime":{"type":"string","description":"Session start time"},"sessionPreOpenTime":{"type":"string","description":"Pre-opening session time"},"sessionEndTime":{"type":"string","description":"Session end time"},"sessionEndPreOpenTime":{"type":"string","description":"End of pre-opening session time"},"sessionStartDateTime":{"type":"string","description":"Session start date and time"},"sessionPreOpenDateTime":{"type":"string","description":"Pre-opening session date and time"},"sessionEndDateTime":{"type":"string","description":"Session end date and time"},"sessionEndPreOpenDateTime":{"type":"string","description":"End of pre-opening session date and time"},"exchangeType":{"type":"string","description":"Type of the exchange"}}},"infoDate":{"type":"object","properties":{"curSessDt":{"type":"string","description":"Current session date and time"},"nextOpenDt":{"type":"string","description":"Next open date and time"},"nextHolDt":{"type":"string","description":"Next hold date and time"},"prevHolDt":{"type":"string","description":"Previous hold date and time"},"nextLiqDt":{"type":"string","description":"Next liquidation date and time"},"prevLiqDt":{"type":"string","description":"Previous liquidation date and time"},"nextLiqDtTm":{"type":"string","description":"Next liquidation date and time with timestamp"},"beforeLiqDtTm":{"type":"string","description":"Before liquidation date and time with timestamp"},"prevLiqDtTm":{"type":"string","description":"Previous liquidation date and time with timestamp"},"lastOpenDayMonthDt":{"type":"string","description":"Date and time of the last open day of the month"}}},"specificInfo":{"type":"object","properties":{"name":{"type":"string","description":"Name of the specific information"},"value":{"type":"string","description":"Value of the specific information"}}},"multiCross":{"type":"object","properties":{"crossLabel":{"type":"string","description":"Label of the cross value"},"crossValue":{"type":"number","description":"Value of the conversion rate"},"lastUpdateDate":{"type":"string","description":"Date of the last data update"}}},"tickSizeRule":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the tick size rule"},"tickSizeSingleRule":{"type":"array","items":{"$ref":"#/components/schemas/tickSizeSingleRule"}}}},"tickSizeSingleRule":{"type":"object","properties":{"min":{"type":"number","description":"Minimum value of the tick size range"},"max":{"type":"number","description":"Maximum value of the tick size range"},"tick":{"type":"number","description":"Tick size to apply for the range"}}},"extendedTradingGroup":{"type":"object","properties":{"exchCode":{"type":"string","description":"Exchange code"},"trGrpCode":{"type":"string","description":"Trading group code"},"trMode":{"type":"string","description":"Trading mode"},"quality":{"type":"string","description":"Quality of the session","example":"RT, DT, BT"},"marketState":{"type":"string","description":"Market State (pre-opening, opening, closing...)"},"providerMarketState":{"type":"string","description":"Provider Market State Label"},"instrumentType":{"type":"string","description":"Instrument type belonging to the trading group"},"timePreOpen1":{"type":"string","description":"Pre-opening time for the trading group (first slot)"},"timeOpen1":{"type":"string","description":"Opening time for the trading group (first slot)"},"timeClos1":{"type":"string","description":"Closing time for the trading group (first slot)"},"timePreOpen2":{"type":"string","description":"Pre-opening time for the trading group (second slot)"},"timeOpen2":{"type":"string","description":"Opening time for the trading group (second slot)"},"timeClos2":{"type":"string","description":"Closing time for the trading group (second slot)"},"timePreOpen3":{"type":"string","description":"Pre-opening time for the trading group (third slot)"},"timeOpen3":{"type":"string","description":"Opening time for the trading group (third slot)"},"timeClos3":{"type":"string","description":"Closing time for the trading group (third slot)"},"eodTime":{"type":"string","description":"End of day time"},"lastUpdate":{"type":"string","description":"Last update date and time"}}},"listElement":{"type":"object","properties":{"id":{"type":"integer","description":"Identifier of the list element"},"name":{"type":"string","description":"Name of the list element"},"value":{"type":"string","description":"Value of the list element"}}},"bestPrice":{"type":"object","properties":{"instr":{"$ref":"#/components/schemas/instr"},"comment":{"type":"string","description":"Comment about the best price"}}},"topConsultInstrList":{"type":"object","properties":{"topConsultInstr":{"type":"array","items":{"$ref":"#/components/schemas/topConsultInstr"}},"nbHitTotal":{"type":"integer","description":"Total number of hits"}}},"topConsultInstr":{"type":"object","properties":{"transco":{"$ref":"#/components/schemas/transco"},"nbHit":{"type":"integer","description":"Number of hits"}}},"aggregate":{"type":"object","properties":{"view":{"$ref":"#/components/schemas/View"},"sessionQuality":{"$ref":"#/components/schemas/Quality"},"mode":{"$ref":"#/components/schemas/Mode"},"periodType":{"type":"string","description":"Period type (D, W, M, Y)","example":"D"},"code":{"type":"string","description":"Code of the aggregate"},"tradedQty":{"type":"number","description":"Traded quantity since the beginning of the session"},"tradedQtyTCS":{"type":"number","description":"Traded quantity in TCS"},"turnover":{"type":"number","description":"Turnover since the beginning of the session"},"turnoverTCS":{"type":"number","description":"Turnover in TCS"},"tradedQtyAtFall":{"type":"number","description":"Traded quantity for fallers"},"turnoverAtFall":{"type":"number","description":"Turnover for fallers"},"tradedQtyAtRise":{"type":"number","description":"Traded quantity for risers"},"turnoverAtRise":{"type":"number","description":"Turnover for risers"},"tradedQtyUnchanged":{"type":"number","description":"Traded quantity for unchanged instruments"},"turnoverUnchanged":{"type":"number","description":"Turnover for unchanged instruments"},"openInterest":{"type":"number","description":"Open interest for the derivative"},"openInterestDateTime":{"type":"string","description":"Open interest date and time"},"nbTrades":{"type":"integer","description":"Number of trades"},"nbTradesTCS":{"type":"integer","description":"Number of trades in TCS"},"nbTradesAtFall":{"type":"integer","description":"Number of trades for fallers"},"nbTradesAtRise":{"type":"integer","description":"Number of trades for risers"},"nbTradesUnchanged":{"type":"integer","description":"Number of trades for unchanged instruments"},"nbInstruments":{"type":"integer","description":"Number of instruments"},"nbInstrumentsAtFall":{"type":"integer","description":"Number of falling instruments"},"nbInstrumentsAtRise":{"type":"integer","description":"Number of rising instruments"},"nbInstrumentsUnchanged":{"type":"integer","description":"Number of unchanged instruments"},"market":{"type":"string","description":"Market trade: NSC or TCS"},"lastTradeDateTime":{"type":"string","description":"Date and time of the last trade"},"transco":{"$ref":"#/components/schemas/transco"}}},"exchangeInfoResponse":{"type":"object","properties":{"timezone":{"type":"string"},"stateMarket":{"type":"string"},"delay":{"type":"integer"},"exchangeInfo":{"$ref":"#/components/schemas/exchangeInfo"},"infoDate":{"$ref":"#/components/schemas/infoDate"},"specificInfos":{"type":"array","items":{"$ref":"#/components/schemas/specificInfo"}},"referenceIndexIID":{"$ref":"#/components/schemas/transco"}}},"crossConvertResponse":{"type":"object","properties":{"crossValue":{"type":"number"},"lastUpdateDate":{"type":"string"}}},"multiCrossResponse":{"type":"array","items":{"$ref":"#/components/schemas/multiCross"}},"aggregateResponse":{"type":"object","properties":{"aggregate":{"$ref":"#/components/schemas/aggregate"}}},"tickSizeResponse":{"type":"array","items":{"$ref":"#/components/schemas/tickSizeRule"}},"tradingGroupResponse":{"type":"array","items":{"$ref":"#/components/schemas/extendedTradingGroup"}},"pushSubscribeResponse":{"type":"object","properties":{"status":{"type":"string"}}},"listResponse":{"type":"object","properties":{"listElement":{"type":"array","items":{"$ref":"#/components/schemas/listElement"}}}},"bestPriceResponse":{"type":"object","properties":{"bestPrice":{"type":"array","items":{"$ref":"#/components/schemas/bestPrice"}},"algorithm":{"$ref":"#/components/schemas/Algorithm"},"view":{"$ref":"#/components/schemas/View"},"mode":{"$ref":"#/components/schemas/Mode"}}},"topConsultResponse":{"type":"object","properties":{"topConsultInstrList":{"$ref":"#/components/schemas/topConsultInstrList"},"status":{"type":"integer"},"entityID":{"type":"string"},"view":{"$ref":"#/components/schemas/View"},"sessionQuality":{"$ref":"#/components/schemas/Quality"},"mode":{"$ref":"#/components/schemas/Mode"},"beginningDate":{"type":"string"},"endingDate":{"type":"string"}}},"topConsultLogResponse":{"type":"object","properties":{"transco":{"$ref":"#/components/schemas/transco"},"status":{"type":"integer"},"entityID":{"type":"string"},"type":{"type":"string"}}},"productDirectoryResponse":{"type":"object","properties":{"instruments":{"type":"array","items":{"$ref":"#/components/schemas/instr"}},"esFilters":{"type":"array","items":{"$ref":"#/components/schemas/esFilters"}},"status":{"type":"integer"},"entityID":{"type":"string"},"nbTotal":{"type":"integer"}}},"createPortfolioRequest":{"required":["portfolio-name","user-id"],"type":"object","properties":{"user-id":{"type":"integer","example":123456},"portfolio-name":{"minLength":1,"pattern":"\\S","type":"string","description":"Must contain at least one non-whitespace character.","example":"Portfolio 1"},"currency":{"$ref":"#/components/schemas/portfolioRequestCurrency"},"liquidity":{"type":"number","example":10000,"default":0},"default-fee-in-currency":{"minimum":0,"type":"number"},"default-fee-in-percentage":{"minimum":0,"type":"number"}}},"portfolioRequestCurrency":{"type":"string","description":"Currency code. The request DTO accepts a string, not a Currency enum; no enum validation is declared.","example":"EUR"},"modifyPortfolioRequest":{"type":"object","properties":{"portfolio-name":{"type":"string","example":"Portfolio 1"},"currency":{"type":"string","example":"EUR"},"liquidity":{"type":"number","example":10000},"default-fee-in-currency":{"type":"number"},"default-fee-in-percentage":{"type":"number"}}},"addPortfolioLiquidityRequest":{"required":["liquidity"],"type":"object","properties":{"liquidity":{"type":"number","example":1000},"timestamp":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-06 14:46:10"},"comment":{"type":"string","example":"comment"}}},"removePortfolioLiquidityRequest":{"required":["liquidity"],"type":"object","properties":{"liquidity":{"type":"number","example":1000},"timestamp":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-06 14:46:10"},"comment":{"type":"string","example":"comment"}}},"purchasePortfolioInstrumentRequest":{"type":"object","properties":{"quality":{"$ref":"#/components/schemas/Quality"},"quantity":{"type":"number","example":10,"default":1},"price":{"type":"number","example":15.35},"timestamp":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-06 14:46:10"},"fees":{"minimum":0,"type":"number"},"conversion-rate":{"type":"number"},"comment":{"type":"string"},"check-liquidity":{"type":"boolean"}}},"salePortfolioInstrumentRequest":{"type":"object","properties":{"quality":{"$ref":"#/components/schemas/Quality"},"quantity":{"type":"number","example":10,"default":1},"price":{"type":"number","example":15.35},"timestamp":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-06 14:46:10"},"fees":{"minimum":0,"type":"number"},"conversion-rate":{"type":"number"},"comment":{"type":"string"}}},"addPortfolioDividendRequest":{"required":["price","quantity"],"type":"object","properties":{"quality":{"$ref":"#/components/schemas/Quality"},"quantity":{"type":"number","example":10},"price":{"type":"number","example":15.35},"timestamp":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-06 14:46:10"},"conversion-rate":{"type":"number"},"comment":{"type":"string"}}},"portfolioCorporateActionRequest":{"required":["coef","type"],"type":"object","properties":{"type":{"$ref":"#/components/schemas/CorporateActionType"},"coef":{"type":"number"},"quality":{"$ref":"#/components/schemas/Quality"},"timestamp":{"pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","type":"string","description":"Local date and time in yyyy-MM-dd HH:mm:ss format (no timezone).","example":"2022-07-06 14:46:10"},"comment":{"type":"string"}}},"modifyPortfolioLineRequest":{"type":"object","properties":{"new-quantity":{"type":"number"},"new-average-purchase-price":{"type":"number"},"new-fees":{"minimum":0,"type":"number"},"comment":{"type":"string"}}},"updatePortfolioOperationCommentRequest":{"required":["comment"],"type":"object","properties":{"comment":{"minLength":1,"pattern":"\\S","type":"string","description":"Must contain at least one non-whitespace character."}}},"user":{"type":"object","properties":{"userID":{"type":"integer","description":"Internal identifier of the user","example":123456},"externalRef":{"type":"string","description":"External reference of the user","example":"toto"},"mail":{"type":"string","description":"Email address of the user","example":"toto@worldline.com"},"sms":{"type":"string","description":"Phone number of the user","example":"0612345678"},"locale":{"type":"string","description":"Language of the user","example":"FR"}}},"portfolio":{"type":"object","properties":{"userID":{"type":"integer","description":"Internal identifier of the user associated with the portfolio","example":123456},"portfolioID":{"type":"integer","description":"Internal identifier of the portfolio","example":123456},"creationDate":{"type":"string","description":"Creation date of the portfolio","example":"20220713-09:00:00"},"portfolioName":{"type":"string","description":"Name of the portfolio","example":"Portfolio 1"},"currency":{"type":"string","description":"Currency of the portfolio","example":"EUR"},"portfolioProfile":{"type":"string","description":"Profile of the portfolio : user information"},"liquidity":{"type":"number","description":"Liquidity of the portfolio","example":1000},"purchaseValorization":{"type":"number","description":"Purchase valorization of the portfolio","example":1526.63},"purchaseValorizationWithFees":{"type":"number","description":"Purchase valorization of the portfolio including fees"},"actualValorization":{"type":"number","description":"Actual valorization of the portfolio","example":1854.79},"previousValorization":{"type":"number","description":"Previous valorization of the portfolio"},"variation":{"type":"number","description":"Variation of the portfolio from previous valorization to actual valorization","example":3.85},"variationAbs":{"type":"number","description":"Absolute variation of the portfolio from previous valorization to actual valorization"},"profitAndLossLatent":{"type":"number","description":"Latent profit and loss amount"},"profitAndLossLatentInPercent":{"type":"number","description":"Latent profit and loss in percent"},"profitAndLossLatentWithFees":{"type":"number","description":"Latent profit and loss amount including fees"},"profitAndLossLatentWithFeesInPercent":{"type":"number","description":"Latent profit and loss in percent including fees"},"profitAndLossTotal":{"type":"number","description":"Total profit and loss amount"},"profitAndLossTotalInPercent":{"type":"number","description":"Total profit and loss in percent"},"profitAndLossTotalWithFees":{"type":"number","description":"Total profit and loss amount including fees"},"profitAndLossTotalWithFeesInPercent":{"type":"number","description":"Total profit and loss in percent including fees"},"profitAndLossRealised":{"type":"number","description":"Realized profit and loss amount"},"profitAndLossRealisedWithFees":{"type":"number","description":"Realized profit and loss amount including fees"},"totalQuantity":{"type":"number","description":"Total quantity of the portfolio"},"provisionAmount":{"type":"number","description":"Provision amount of the portfolio"},"provisionMax":{"type":"number","description":"Maximum provision amount of the portfolio"},"totalFees":{"type":"number","description":"Total fees of the portfolio"},"isEmpty":{"type":"boolean","description":"Indicates if the portfolio or watchlist is empty"},"feeByDefaultCurrency":{"type":"number","description":"Default brokerage fees amount"},"feeByDefaultPercentage":{"type":"number","description":"Default brokerage fees percentage"},"externalRef":{"type":"string","description":"External reference of the portfolio"}}},"portfolioDetail":{"type":"object","properties":{"portfolio":{"$ref":"#/components/schemas/portfolio"},"portfolioLine":{"type":"array","items":{"$ref":"#/components/schemas/portfolioLine"}},"cross":{"type":"array","items":{"$ref":"#/components/schemas/cross"}}}},"portfolioLine":{"type":"object","properties":{"portfolioLineID":{"type":"integer","description":"Internal identifier of the portfolio line","example":123456},"transco":{"$ref":"#/components/schemas/transco"},"quantity":{"type":"number","description":"Quantity of the portfolio line","example":20},"lastOperationDate":{"type":"string","description":"Date of the last operation on the portfolio line","example":"20220713-09:00:00"},"averagePurchasePrice":{"type":"number","description":"Average purchase price of the portfolio line","example":25.3},"averagePurchasePriceInCurrency":{"type":"number","description":"Average purchase price (instr currency)"},"averagePurchasePriceWithFees":{"type":"number","description":"Average purchase price including fees"},"purchaseValorization":{"type":"number","description":"Purchase valorization of the portfolio line"},"purchaseValorizationInCurrency":{"type":"number","description":"Purchase valorization of the portfolio line in instrument currency"},"purchaseValorizationWithFees":{"type":"number","description":"Purchase valorization of the portfolio line including fees"},"actualValorization":{"type":"number","description":"Actual valorization of the portfolio line"},"previousValorization":{"type":"number","description":"Previous valorization of the portfolio line"},"actualValorizationInCurrency":{"type":"number","description":"Actual valorization of the portfolio line in instrument currency"},"lastPrice":{"type":"number","description":"Last known price of the instrument"},"valorization":{"type":"number","description":"Valorization of the portfolio line"},"valorizationInCurrency":{"type":"number","description":"Valorization of the portfolio line in instrument currency"},"currency":{"type":"string","description":"Currency of the instrument","example":"EUR"},"ptfCurrency":{"type":"string","description":"Currency of the portfolio","example":"EUR"},"priceUnitType":{"type":"string","description":"Price unit type of the portfolio line","example":"currency, percent..."},"lastPriceDateTime":{"type":"string","description":"Date of the last price of the portfolio line","example":"20220713-09:00:00"},"valorizationDateTime":{"type":"string","description":"Date of the valorization of the portfolio line","example":"20220713-09:00:00"},"previousValorizationDateTime":{"type":"string","description":"Date of the previous valorization of the portfolio line","example":"20220713-09:00:00"},"priceVariation":{"type":"number","description":"Price variation of the portfolio line in percent"},"priceVariationAbs":{"type":"number","description":"Absolute price variation of the portfolio line"},"profitAndLoss":{"type":"number","description":"Profit and loss of the portfolio line"},"profitAndLossInPercent":{"type":"number","description":"Profit and loss in percent"},"profitAndLossInCurrency":{"type":"number","description":"Profit and loss in instrument currency"},"profitAndLossInCurrencyInPercent":{"type":"number","description":"Profit and loss in instrument currency in percent"},"profitAndLossWithFees":{"type":"number","description":"Profit and loss amount including fees"},"profitAndLossWithFeesInPercent":{"type":"number","description":"Profit and loss in percent including fees"},"accuracy":{"type":"integer","description":"Accuracy of the decimal number to show"},"tickSize":{"type":"number","description":"Number of decimal to display"},"tickSizeRule":{"type":"string","description":"Rule to apply for the number of decimal to display"},"iid":{"type":"integer","description":"Internal identifier of the instrument"},"isAvailable":{"type":"boolean","description":"Indicates if the line is hidden or not"}}},"portfolioOperation":{"type":"object","properties":{"transco":{"$ref":"#/components/schemas/transco"},"eventDate":{"type":"string","description":"Date of the event","example":"20220713-09:00:00"},"operationType":{"type":"integer","description":"Type of the operation - 1: Buy, 2: Sell, 3: Add Dividend, 4: Add Liquidity; 5: Remove Liquidity; 6: Split: 7: Allocating free shares; 8: Line modification"},"quantity":{"type":"number","description":"Quantity of the instrument in the operation","example":10},"price":{"type":"number","description":"Price of the instrument in the operation","example":15.35},"operationDate":{"type":"string","description":"Date of the operation","example":"20220713-09:00:00"},"fees":{"type":"number","description":"Fees of the operation"},"feesInPercent":{"type":"number","description":"Fees of the operation in percent"},"operationAmount":{"type":"number","description":"Amount of the operation (quantity * price + fees)"},"portfolioOperationID":{"type":"integer","description":"Internal identifier of the portfolio operation"},"profitAndLoss":{"type":"number","description":"Profit and loss of the portfolio operation"},"profitAndLossWithFees":{"type":"number","description":"Profit and loss of the portfolio operation including fees"},"accuracy":{"type":"integer","description":"Accuracy of the decimal number to show"},"tickSize":{"type":"number","description":"Number of decimal to display"},"tickSizeRule":{"type":"string","description":"Rule to apply for the number of decimal to display"},"comment":{"type":"string","description":"Comment of the portfolio operation"},"conversionRate":{"type":"number","description":"Currency conversion rate of the portfolio operation"},"currencyPtf":{"type":"string","description":"Currency of the portfolio","example":"EUR, USD, GBP,...)"}}},"histoPtf":{"type":"object","properties":{"operations":{"type":"array","items":{"$ref":"#/components/schemas/operations"}},"date":{"type":"string","description":"Date of the historic of the portfolio"},"valo":{"type":"number","description":"Valorization of the portfolio"},"provisionAmount":{"type":"number","description":"Provision amount of the portfolio"},"perf":{"type":"number","description":"Performance of the portfolio"},"globalPerf":{"type":"number","description":"Global performance of the portfolio"}}},"histoIndex":{"type":"object","properties":{"date":{"type":"string","description":"Date of the historic of the instrument"},"valo":{"type":"number","description":"Valorization of the instrument"},"perf":{"type":"number","description":"Performance of the instrument"},"globalPerf":{"type":"number","description":"Global performance of the instrument"}}},"operations":{"type":"object","properties":{"type":{"type":"string","description":"Instrument type - except in intraday request : contains MIN as minute, TRA as trade"},"lineID":{"type":"integer","description":"Internal identifier of the portfolio line"},"quantity":{"type":"integer","description":"Quantity of the instrument in the operation"},"instrument":{"type":"string","description":"Long name of the instrument"},"price":{"type":"number","description":"Price of the instrument in the operation"},"fees":{"type":"number","description":"Fees of the operation"},"comment":{"type":"string"}}},"histoValoPerformanceBean":{"type":"object","properties":{"periodType":{"type":"string","description":"Type of the period - DAY, WEEK, MONTH, YEAR"},"performance":{"type":"number","description":"Performance of the period"}}},"watchlist":{"type":"object","properties":{"userID":{"type":"integer","description":"Internal identifier of the user associated with the watchlist","example":123456},"watchlistID":{"type":"integer","description":"Internal identifier of the watchlist","example":123456},"creationDate":{"type":"string","description":"Creation date of the watchlist","example":"20220713-09:00:00"},"watchlistName":{"type":"string","description":"Name of the watchlist","example":"Watchlist 1"},"currency":{"type":"string","description":"Currency of the watchlist","example":"EUR"},"profile":{"type":"string","description":"Profile of the watchlist"},"externalRef":{"type":"string","description":"External reference of the watchlist"},"isEmpty":{"type":"boolean","description":"Indicates if the portfolio or watchlist is empty"}}},"watchlistLine":{"type":"object","properties":{"iid":{"type":"integer","description":"Internal identifier of the instrument","example":123456},"watchlistLineID":{"type":"integer","description":"Internal identifier of the watchlist line","example":123456},"transco":{"$ref":"#/components/schemas/transco"}}},"palmares":{"type":"object","properties":{"idPtf":{"type":"integer","description":"Internal identifier of the portfolio","example":475},"nameUser":{"type":"string","example":"user1"},"namePtf":{"type":"string","description":"Name of the portfolio","example":"portfolio1"},"provisionAmount":{"type":"number","example":30},"actualValorization":{"type":"number","example":70.29},"performance":{"type":"number","example":-0.010470334053515083}}},"triggerCriterion":{"type":"object","properties":{"params-entry":{"type":"array","items":{"$ref":"#/components/schemas/paramsEntry"}},"data":{"type":"string","description":"alert : field type for triggering (variation, price, ...)"},"operator":{"type":"string","description":"alert : sup=SUPERIOR ; inf=INFERIOR ; eq=EQUALS ; nbDaysBefore ; supEq=SUPERIOR_OR_EQUAL ; infEq=INFERIOR_OR_EQUAL; gap"},"value":{"type":"number"},"value2":{"type":"string"},"condition-expr":{"type":"string"},"alias-map":{"type":"string"}}},"paramsEntry":{"type":"object","properties":{"value":{"type":"string"},"key":{"type":"string"}}},"notificationInfo":{"type":"object","properties":{"type":{"type":"string"},"value":{"type":"string"}}},"alert":{"type":"object","properties":{"userID":{"type":"integer","description":"Internal identifier of the user","example":123456},"code":{"type":"string","description":"Code of the instrument","example":"FR0000051732"},"codification":{"type":"string","description":"Codification of the instrument","example":"ISIN"},"exchangeCode":{"type":"string","description":"Exchange code of the instrument","example":"XPAR"},"extensionCode":{"type":"string","description":"Extension code of the instrument - internal use"},"startDateValidity":{"type":"integer","description":"Start date of the alert validity","format":"int64"},"endDateValidity":{"type":"integer","description":"End date of the alert validity","format":"int64"},"creationDate":{"type":"integer","description":"Creation date of the alert","format":"int64"},"updateDate":{"type":"integer","description":"Last update of the alert","format":"int64"},"deleteDate":{"type":"integer","description":"Deletion date of the alert (only for deleted alerts)","format":"int64"},"alertType":{"type":"integer","description":"Type of the alert (technical field use)"},"alertStatus":{"type":"integer","description":"Status of the alert - 1: waited; 2: in progress; 3: expired; 4: cancelled; 5: suspended; 6: executed"},"releaseDate":{"type":"integer","description":"Date the alert was triggered","format":"int64"},"autoReactivation":{"type":"integer","description":"Indicates the way the alert isautomatically reactivated after being triggered - -1: enabled every day; 1: .. n executions"},"locale":{"type":"string","description":"Language of the alert","example":"FR, DE, EN, NL, etc..."},"openingDigest":{"type":"integer","description":"(technical field use) Digest of the opening alert"},"closingDigest":{"type":"integer","description":"(technical field use) Digest of the closing alert"},"groupID":{"type":"integer","description":"(technical field use) Digest of the opening alert","format":"int64"},"frontData":{"type":"string","description":"Additional data for the notifications"},"template":{"type":"string","description":"Override the default template for the notifications"},"triggerCriterionList":{"type":"array","items":{"$ref":"#/components/schemas/triggerCriterion"}},"notificationInfosList":{"type":"array","items":{"$ref":"#/components/schemas/notificationInfo"}}}},"alertListResponse":{"type":"array","items":{"$ref":"#/components/schemas/alert"}},"portfolioListResponse":{"type":"array","items":{"$ref":"#/components/schemas/portfolio"}},"portfolioOperationsResponse":{"type":"array","items":{"$ref":"#/components/schemas/portfolioOperation"}},"portfolioLineOperationsResponse":{"type":"object","properties":{"portfolioOperations":{"type":"array","items":{"$ref":"#/components/schemas/portfolioOperation"}},"portfolioLine":{"$ref":"#/components/schemas/portfolioLine"}}},"portfolioPerformanceResponse":{"type":"object","properties":{"perf":{"type":"number"},"beginingDate":{"type":"string"},"endDate":{"type":"string"}}},"histoValoResponse":{"type":"object","properties":{"histoPtf":{"type":"array","items":{"$ref":"#/components/schemas/histoPtf"}},"histoIndex":{"type":"array","items":{"$ref":"#/components/schemas/histoIndex"}},"beginingDate":{"type":"string"},"endDate":{"type":"string"},"instrumentName":{"type":"string"},"currency":{"type":"string"}}},"histoValoPerfResponse":{"type":"array","items":{"$ref":"#/components/schemas/histoValoPerformanceBean"}},"palmaresResponse":{"type":"array","items":{"$ref":"#/components/schemas/palmares"}},"watchlistListResponse":{"type":"array","items":{"$ref":"#/components/schemas/watchlist"}},"watchlistDetailResponse":{"type":"object","properties":{"watchlist":{"$ref":"#/components/schemas/watchlist"},"lines":{"type":"array","items":{"$ref":"#/components/schemas/watchlistLine"}}}},"SmdApiError":{"type":"object","properties":{"timestamp":{"type":"integer","format":"int64"},"status":{"type":"integer","format":"int32"},"error":{"type":"string"},"message":{"type":"string"}}}},"responses":{},"parameters":{},"requestBodies":{},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}}}