In WL is it possible to define in Prefenrences\Commisions\PerTrade a special commission for my Forex Broker like IB.
But when I want backtesting in WL NYSE stocks and Forex at the same time how can I preparing the preferences\commissions for both forex and stocks?
For Stock I use Prefenrences\Commisions\IB Bundel but for Forex I need the settings Pertrade. So at the moment I changed the prefenrences manually every time when I switch from stocks to forex. Is any solution for this problem there available? Maybe that I must use the different commissions in the C# coding?
Thanks Christian
Size:
Color:
You have to build a custom commission library to define your own commission plan that takes both Forex and stocks into consideration. The Community.Commissions library is open source and thus can serve as a working example. To download its zipped source code from the Wiki you need to login:
Home - Community.Commissions
Size:
Color: