mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-07 16:06:15 +00:00
Update example-config.json
This commit is contained in:
parent
b66f12ff75
commit
236283f4dd
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user