日志里错误信息 怎么获取?

Author: Godless, Created: 2022-10-24 08:26:33, Updated:

Sell(-1, 23695): map[code:1 data:[map[clOrdId:9e7f8f03cd7548BCbbc302B213F8D11C ordId: sCode:51202 sMsg:Market - order amount exceeds the max amount. tag:]] msg:Operation failed.]

像这种


More

小小梦 可以使用GetLastError()函数,exchange.GetRawJSON()函数。