Accessing Market Commission

 

Hello,

Does anybody know how to access the commission of a market without having to execute an order, in the same way one can access the swap?

There are simple commands for acquiring the swaps:

double SwapLong = MarketInfo(Symbol(),MODE_SWAPLONG);

double SwapShort = MarketInfo(Symbol(),MODE_SWAPSHORT);

However, the only command I can see available for acquiring the commission is to open an order, select it, and then use the command:

double Commission = OrderCommission();

There must be a better way to do this?

Thanks.