closing
endpoint provides the closing price of the previous day as detailed in Twelvedata documentation.
price
endpoint provides the real-time price as detailed in Twelvedata documentation.
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | API_KEY | API key for Twelvedata | string | ||
API_ENDPOINT | The endpoint for your Twelvedata | string | https://api.twelvedata.com/ |
Name | Requests/credits per second | Requests/credits per minute | Requests/credits per hour | Note |
---|---|---|---|---|
basic | 8 | 33.3333333333 | 800 API requests/day | |
grow1 | 55 | |||
grow2 | 144 | |||
grow3 | 377 | |||
pro1 | 610 | |||
pro2 | 987 | |||
pro3 | 1597 | |||
enterprise1 | 2584 | |||
enterprise2 | 4181 | |||
enterprise3 | 10946 |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | closing, crypto, eod, etf, forex, price, stock, uk_etf | closing |
This closing
endpoint provides the closing price of the previous day as detailed in Twelvedata documentation.
Supported names for this endpoint are: closing
, eod
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from , market , symbol , uk_etf |
The symbol of the currency to query | string |
Request:
{
"id": "1",
"data": {
"base": "VXX",
"endpoint": "closing"
},
"debug": {
"cacheKey": "ZWDHGGXpQ0kNUlJ7WAZMGVmrHww="
}
}
Response:
{
"jobRunID": "1",
"data": {
"symbol": "VXX",
"exchange": "CBOE",
"currency": "USD",
"datetime": "2021-11-05",
"close": "20.86750",
"result": 20.8675
},
"result": 20.8675,
"statusCode": 200,
"providerStatusCode": 200
}
This price
endpoint provides the real-time price as detailed in Twelvedata documentation.
Supported names for this endpoint are: crypto
, etf
, forex
, price
, stock
, uk_etf
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from , market , symbol , uk_etf |
The symbol of the currency to query | string |
Request:
{
"id": "1",
"data": {
"base": "VXX",
"endpoint": "price"
},
"debug": {
"cacheKey": "vRWHl92FGmzqMko1oZyLtKloXNI="
}
}
Response:
{
"jobRunID": "1",
"data": {
"price": "20.86750",
"result": 20.8675
},
"result": 20.8675,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License