Update Tickers

Update Tickers

POST https://api.finalle.ai/update_tickers

Send a .csv file of tickers

Path Parameters

Name
Type
Description

api_key*

String

Your API key. If the TEST environment API key is provided, then no update will be done to the tickers DB. If the PROD env API key is provided, tickers DB will be updated on success.

Request Body

Name
Type
Description

file*

File (.csv)

A .csv file named tickers.csv. The file must contain a ticker and industrycolumns, where each row contains a ticker name in upper case (e.g. AAPL, TSLA) and the respective ticker's industry.

On success, returns acknowledgment that the file was processed successfully.

Example

For a POST request to the chat endpoint: https://api.finalle.ai/update_tickers?api_key=YOUR_API_KEY&test=yes

With the following body using Content-Type=multipart/form-data:

{
    "file": A_VALID_CSV_FILE_NAMED_tickers.csv,
}

The output is:

{
    "data": "",
    "request_id": "YOUR_REQUEST_ID",
    "result": "success"
}

Last updated