1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-07 07:56:12 +00:00

Update example-config.json

This commit is contained in:
Jkorf 2024-11-19 14:53:58 +01:00
parent b66f12ff75
commit 236283f4dd

View File

@ -1,12 +1,17 @@
{
// Options section, select this section during DI registration using Configuration.GetSection("ExchangeApiOptions")
"ExchangeApiOptions": {
// API credentials for both REST and Websocket client
"ApiCredentials": {
"Key": "APIKEY",
"Secret": "SECRET"
"Secret": "SECRET",
"PassPhrase": "Phrase" // Optional passphrase for exchanges which need it
},
// Set the environment by name
"Environment": {
"name": "live"
},
// REST client options
"Rest": {
"RequestTimeout": "00:00:20",
"CachingEnabled": true,
@ -18,6 +23,7 @@
"Password": "Pass"
}
},
// Socket client options
"Socket": {
"RequestTimeout": "00:00:05",
"SocketSubscriptionsCombineTarget": 15