func getMarginLoanInfo() {
	optionalRequest := margin.GetMarginLoanInfoOptionalRequest{Symbols: "btcusdt"}
	client := new(client.IsolatedMarginClient).Init(config.AccessKey, config.SecretKey, config.Host)
	resp, err := client.GetMarginLoanInfo(optionalRequest)
	if err != nil {
		applogger.Error(err.Error())
	} else {
		for _, info := range resp {
			applogger.Info("Symbol: %s", info.Symbol)
		}
	}
}
Get the loan interest rates and quota applied on the user.
package isolatedmarginclientexample
import (
	"github.com/huobirdcenter/huobi_golang/config"
	"github.com/huobirdcenter/huobi_golang/logging/applogger"
	"github.com/huobirdcenter/huobi_golang/pkg/client"
	"github.com/huobirdcenter/huobi_golang/pkg/model/margin"
)
func RunAllExamples() {
	transferIn()
	transferOut()
	getMarginLoanInfo()
	marginOrders()
	marginOrdersRepay()
	marginLoanOrders()
	marginAccountsBalance()
}
func transferIn() {
	request := margin.IsolatedMarginTransferRequest{
		Currency: "usdt",
		Amount:   "1.0",
		Symbol:   "btcusdt"}
	client := new(client.IsolatedMarginClient).Init(config.AccessKey, config.SecretKey, config.Host)
	resp, err := client.TransferIn(request)
	if err != nil {
		applogger.Error(err.Error())
	} else {
		applogger.Info("Data: %+v", resp)
	}
}
func transferOut() {
	request := margin.IsolatedMarginTransferRequest{
		Currency: "usdt",
		Amount:   "1.0",
		Symbol:   "btcusdt"}
	client := new(client.IsolatedMarginClient).Init(config.AccessKey, config.SecretKey, config.Host)
	resp, err := client.TransferOut(request)
	if err != nil {
		applogger.Error(err.Error())
	} else {
		applogger.Info("Data: %+v", resp)
	}
}