using Binance.TradeRobot.Model.Base; using SDKAdapter.Model; using System; using System.Collections.Generic; namespace SDKAdapter.APIClient { public class BaseAPIClient { public static BaseAPIClient Create(Enums.Exchange exchange, long uid, string apiKey, string secret) { if (exchange == Enums.Exchange.Binance) return new BinanceAPIClient(uid, apiKey, secret); return null; } protected long AccountId { get; private set; } protected string ApiKey { get; private set; } protected string Secret { get; private set; } public BaseAPIClient(long uid, string apiKey, string secret) { this.AccountId = uid; this.ApiKey = apiKey; this.Secret = secret; } /// /// 获取逐仓杠杆账户资产 /// /// /// public virtual IList GetIsolatedMarginAccountAssets() { throw new NotImplementedException(); } } }