Skip to content

Commit

Permalink
Merge pull request #80 from Bisonai/feat/include-new-wss-feeds
Browse files Browse the repository at this point in the history
Include new wss feeds
  • Loading branch information
nick-bisonai authored Jun 3, 2024
2 parents e7627c5 + 4ad7cc9 commit 18c1927
Show file tree
Hide file tree
Showing 76 changed files with 4,716 additions and 19,895 deletions.
4,683 changes: 1,076 additions & 3,607 deletions baobab_configs.json

Large diffs are not rendered by default.

189 changes: 30 additions & 159 deletions config/baobab/ADA-USDT.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,39 +2,12 @@
"name": "ADA-USDT",
"feeds": [
{
"name": "Bybit-ADA-USDT",
"name": "bybit-wss-ADA-USDT",
"definition": {
"url": "https://api.bybit.com/derivatives/v3/public/tickers?symbol=ADAUSDT",
"headers": {
"Content-Type": "application/json"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"result",
"list"
]
},
{
"function": "INDEX",
"args": 0
},
{
"function": "PARSE",
"args": [
"lastPrice"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
"type": "wss",
"provider": "bybit",
"base": "ADA",
"quote": "USDT"
}
},
{
Expand All @@ -47,94 +20,30 @@
}
},
{
"name": "Kucoin-ADA-USDT",
"name": "kucoin-wss-ADA-USDT",
"definition": {
"url": "https://api.kucoin.com/api/v1/market/orderbook/level1?symbol=ADA-USDT",
"headers": {
"Content-Type": "application/json"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"data",
"price"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
"type": "wss",
"provider": "kucoin",
"base": "ADA",
"quote": "USDT"
}
},
{
"name": "Crypto-ADA-USDT",
"name": "crypto-wss-ADA-USDT",
"definition": {
"url": "https://api.crypto.com/v2/public/get-ticker?instrument_name=ADA_USDT",
"headers": {
"Content-Type": "application/json"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"result",
"data"
]
},
{
"function": "INDEX",
"args": 0
},
{
"function": "PARSE",
"args": [
"a"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
"type": "wss",
"provider": "crypto",
"base": "ADA",
"quote": "USDT"
}
},
{
"name": "Btse-ADA-USDT",
"name": "btse-wss-ADA-USDT",
"definition": {
"url": "https://api.btse.com/spot/api/v3.2/price?symbol=ADA-USDT",
"headers": {
"Content-Type": "application/json"
},
"method": "GET",
"reducers": [
{
"function": "INDEX",
"args": 0
},
{
"function": "PARSE",
"args": [
"indexPrice"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
"type": "wss",
"provider": "btse",
"base": "ADA",
"quote": "USDT"
}
},
{
Expand All @@ -147,59 +56,21 @@
}
},
{
"name": "Gateio-ADA-USDT",
"name": "gateio-wss-ADA-USDT",
"definition": {
"url": "https://api.gateio.ws/api/v4/spot/tickers?currency_pair=ADA_USDT",
"headers": {
"Content-Type": "application/json"
},
"method": "GET",
"reducers": [
{
"function": "INDEX",
"args": 0
},
{
"function": "PARSE",
"args": [
"last"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
"type": "wss",
"provider": "gateio",
"base": "ADA",
"quote": "USDT"
}
},
{
"name": "Coinex-ADA-USDT",
"name": "coinex-wss-ADA-USDT",
"definition": {
"url": "https://api.coinex.com/v1/market/ticker?market=ADAUSDT",
"headers": {
"Content-Type": "application/json"
},
"method": "GET",
"reducers": [
{
"function": "PARSE",
"args": [
"data",
"ticker",
"last"
]
},
{
"function": "POW10",
"args": 8
},
{
"function": "ROUND"
}
]
"type": "wss",
"provider": "coinex",
"base": "ADA",
"quote": "USDT"
}
}
],
Expand Down
Loading

0 comments on commit 18c1927

Please sign in to comment.