For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
how to custom commission based on order type?
-
Some exchange has different commission for Limit order and Market order, how to get order type in _getcommission?
-
That's not something which can be customized out of the box. Commissions are connected to the assets and this is clearly something a broker does.
Hence a custom broker would be needed.
-
I think commissions are more related to the broker than the assets, The broker take that money any way.
So in my view, custom broker's commission means a customize commission scheme, what you think? -
Regardless of different views, it simply not posible out of the box.