Tickers

This endpoint is used to update the price of a symbol.

Update symbol price

POST https://api.aitrade.com/tickers

Headers

Name
Type
Example

Authorization

Basic Auth

Basic TWlyYWUyRdd0OmhhQDI0QXMjamdkcw==

Please contact us for username and password

Request Body

Name
Type
Required
Description
Example

symbol

string

Full symbol name

AAPL-USD

last_price

float

Latest market price of the symbol

172.34

Responses:

curl --location 'http://127.0.0.1:8000/tickers' \
--header 'Accept: application/json' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic TWlyYWUyMDI0OmhfQDI0QXMjamdk' \
--header 'Cookie: miraeasset_session=eyJpdiI6InhnWUFpeVBQM0tOMXhXOGd0WVlLUnc9PSIsInZhbHVlIjoiRnRWcXVxWis1Z1NzSkRnMC8wcGU5TG9JcEtrYTZUL3IrakRtanV3TFhteHUwL201Vmg4RmdENE1nckJMaTI2VmhyUFQzNENMWnIzdyt6d0RaWXVIUzNza0E1WDB6VHU4MjZSZlFtNWFQZWlUY1lFcU5aRHlpbVlvTFY3c01WRzkiLCJtYWMiOiI1Mzc5OWNkY2MyNzI3YzQyNzNmN2Y2MTAyNzI1MDBkMjJlYzEyMTUwZDgzZmYwMjhmMzcyNTVkZTNjNWZlNDZmIiwidGFnIjoiIn0%3D' \
--data-urlencode 'symbol=AAPL-USD' \
--data-urlencode 'last_price=175'

Last updated