Closed overstartup closed 1 year ago
var r= api.UnitConvert(OkexConvertType.CurrencyToContract, OkexConvertUnit.Usdt, Symbol, Price, OrderSizeUsdt); decimal size = r.Data.Size;
Could you please check this method? it has error. {51000: Parameter unit error }
api.UnitConvert(OkexConvertType.CurrencyToContract, instrumentId: "BTC-USD-SWAP", price: 35000, size: 0.888m); This works perfect. Can you share your parameters please.
api.UnitConvert(OkexConvertType.CurrencyToContract, instrumentId: "BTC-USD-SWAP", price: 35000, size: 0.888m);
Could you please check this method? it has error. {51000: Parameter unit error }