This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | API_USERNAME | string | |||
✅ | API_PASSWORD | string | |||
API_ENDPOINT | The endpoint for your dxFeed | string | https://tools.dxfeed.com/webservice/rest |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | commodities, crypto, forex, price, stock | price |
Supported names for this endpoint are: commodities
, crypto
, forex
, price
, stock
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from , market |
The symbol of the currency to query |
Request:
{
"id": "1",
"data": {
"endpoint": "price",
"resultPath": ["Trade", "TSLA", "price"],
"base": "TSLA"
},
"debug": {
"cacheKey": "4TupE9qBq++X2he+M9kTw2ZmOv8=",
"batchCacheKey": "VrI9ktHz2Gp7oHbb2+1HMGmvh5k=",
"batchChildrenCacheKeys": [
[
"4TupE9qBq++X2he+M9kTw2ZmOv8=",
{
"id": "1",
"data": {
"endpoint": "price",
"resultPath": "Trade",
"base": "TSLA"
}
}
]
]
}
}
Response:
{
"jobRunID": "1",
"data": {
"status": "OK",
"Trade": {
"TSLA:BFX": {
"eventSymbol": "TSLA:BFX",
"eventTime": 0,
"time": 1636744209248,
"timeNanoPart": 0,
"sequence": 775394,
"exchangeCode": "V",
"price": 239.255,
"change": 0.03,
"size": 3,
"dayVolume": 700004,
"dayTurnover": 167577930,
"tickDirection": "ZERO_UP",
"extendedTradingHours": false
}
},
"result": 239.255
},
"result": 239.255,
"statusCode": 200,
"debug": {
"batchablePropertyPath": [
{
"name": "base",
"limit": 120
}
]
},
"providerStatusCode": 200
}
MIT License