/// <summary> /// Sets the default options to use for new clients /// </summary> /// <param name="options">The options to use for new clients</param> public static void SetDefaultOptions(OkexClientOptions options) { defaultOptions = options; }
/// <summary> /// Create a new instance of the OkexClient with the provided options /// </summary> public OkexClient(OkexClientOptions options) : base("Okex", options, options.ApiCredentials == null ? null : new OkexAuthenticationProvider(options.ApiCredentials, "", options.SignPublicRequests, ArrayParametersSerialization.Array)) { SignPublicRequests = options.SignPublicRequests; }