Skip to content

DeleteTradeAsync throws {"code":-1102,"msg":"Mandatory parameter 'symbol' was not sent, was empty/null, or malformed."} #3

@JelleGeers

Description

@JelleGeers

TradeResponse testTradeResponse = await binanceApi.LimitOrderAsync("BLZBNB", Binance.NetCore.Entities.Side.BUY, 145, 0.001779M);
CancelTradeParams testCancelTradeParams = new CancelTradeParams()
{
timestamp = testTradeResponse.transactTime,
orderId = testTradeResponse.orderId,
type = testTradeResponse.type.ToString(),
origClientOrderId = testTradeResponse.clientOrderId,
symbol = testTradeResponse.symbol
};
TradeResponse traderesponse =await binanceApi.DeleteTradeAsync( testCancelTradeParams);

The moment I'm trying to call the DeleteTradeAsync method it gives an error that i'm not passing the symbol. Even tough I am
{"code":-1102,"msg":"Mandatory parameter 'symbol' was not sent, was empty/null, or malformed."}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions