Payload looks something like this:
{
"e":"executionReport",
"E":1616149713250,
"s":"ETHBTC",
"c":"02eOF7sYCRqyN9xorBrjYn",
"S":"BUY",
"o":"MARKET",
"f":"GTC",
"q":"0.01900000",
"p":"0.00000000",
"P":"0.00000000",
"F":"0.00000000",
"g":-1,
"C":"",
"x":"TRADE",
"X":"FILLED",
"r":"NONE",
"i":1541674601,
"l":"0.01900000",
"z":"0.01900000",
"L":"0.03091300",
"n":"0.00009675",
"N":"BNB",
"T":1616149713250,
"t":243626411,
"I":3302995918,
"w":false,
"m":false,
"M":true,
"O":1616149713250,
"Z":"0.00058734",
"Y":"0.00058734",
"Q":"0.00060000"
}
But where is it documented? Suppose I’m selling FOO coin (buying BTC).
How to figure out how much BTC I got for the transaction?