mirror of
				https://github.com/JKorf/CryptoExchange.Net
				synced 2025-11-03 20:07:33 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			793 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			793 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
	// 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",
 | 
						|
			"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,
 | 
						|
			"OutputOriginalData": true,
 | 
						|
			"Proxy": {
 | 
						|
				"Host": "https://127.0.0.1",
 | 
						|
				"Port": 8080,
 | 
						|
				"Login": "User",
 | 
						|
				"Password": "Pass"
 | 
						|
			}
 | 
						|
		},
 | 
						|
		// Socket client options
 | 
						|
		"Socket": {
 | 
						|
			"RequestTimeout": "00:00:05",
 | 
						|
			"SocketSubscriptionsCombineTarget": 15
 | 
						|
		}
 | 
						|
	}
 | 
						|
} |