Skip to content

Commit

Permalink
[kucoin] Add http requests
Browse files Browse the repository at this point in the history
  • Loading branch information
bigscoop committed Aug 26, 2024
1 parent e2de7bf commit 310817f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xchange-kucoin/example.http-client.private.env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"default": {
"api_key": "replace_me",
"api_secret": "replace_me"
}
}
5 changes: 5 additions & 0 deletions xchange-kucoin/http-client.env.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"default": {
"api_host": "https://api.kucoin.com"
}
}
8 changes: 8 additions & 0 deletions xchange-kucoin/src/test/resources/http/market.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
### Get Ticker
GET {{api_host}}/api/v1/market/orderbook/level1?symbol=BTC-USDT

### Get All Tickers
GET {{api_host}}/api/v1/market/allTickers

### Get 24hr Stats
GET {{api_host}}/api/v1/market/stats?symbol=BTC-USDT

0 comments on commit 310817f

Please sign in to comment.