Commission Aquisition

 

I know and I have read alot of threads on it which were old which basically stated that the commission rates of the broker remains hidden and is not accessible to do any calculations until after a trade is made.

Any luck with this?

 
Brian Lillard:

I know and I have read alot of threads on it which were old which basically stated that the commission rates of the broker remains hidden and is not accessible to do any calculations until after a trade is made.

Any luck with this?

most brokers set their commissions based on lot size, this can be turned into code easily.
some other brokers, take into account the account type, and other factors along the lot size.

my approach is to set the commission per lot, for an average lot size, or a few commission rates based on lot size .etc, as INPUT VARIABLES.
this method is not precise , but helps with setting position volumes, considering the commission fees.
Reason: