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