1
0
mirror of https://github.com/JKorf/CryptoExchange.Net synced 2025-06-07 16:06:15 +00:00
CryptoExchange.Net/ExchangeOptions.cs
2018-02-28 13:53:29 +01:00

41 lines
1.0 KiB
C#

using System.Collections.Generic;
using System.IO;
using CryptoExchange.Net.Authentication;
using CryptoExchange.Net.Logging;
using CryptoExchange.Net.RateLimiter;
namespace CryptoExchange.Net
{
/// <summary>
/// Options
/// </summary>
public class ExchangeOptions
{
/// <summary>
/// The api credentials
/// </summary>
public ApiCredentials ApiCredentials { get; set; }
/// <summary>
/// Proxy to use
/// </summary>
public ApiProxy Proxy { get; set; }
/// <summary>
/// The log verbosity
/// </summary>
public LogVerbosity LogVerbosity { get; set; } = LogVerbosity.Warning;
/// <summary>
/// The log writer
/// </summary>
public TextWriter LogWriter { get; set; } = new DebugTextWriter();
/// <summary>
/// List of ratelimiters to use
/// </summary>
public List<IRateLimiter> RateLimiters { get; set; } = new List<IRateLimiter>();
}
}