Hello) Need help with migration. I can't solve the problem. After switching to Binance.Net 9.0.5 and CryptoExchange.Net 6.0.3, please tell me how to correctly specify the endpoint ..
public BinanceRestClient client = new BinanceRestClient();
public BinanceCore(string apiKey, string secretKey)
{
client = new BinanceRestClient(new BinanceClientOptions
{
ApiCredentials = new ApiCredentials(apiKey, secretKey),
SpotApiOptions = new BinanceApiClientOptions
{
BaseAddress = "https://api.binance.com",
AutoTimestamp = true
},
UsdFuturesApiOptions = new BinanceApiClientOptions
{
TradeRulesBehaviour = TradeRulesBehaviour.ThrowError,
BaseAddress = "https://fapi5.binance.com",
AutoTimestamp = true
}
});
}
Hello) Need help with migration. I can't solve the problem. After switching to Binance.Net 9.0.5 and CryptoExchange.Net 6.0.3, please tell me how to correctly specify the endpoint ..