The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Finance::GeniusTrader::Brokers::InteractiveBrokers

Overview

This module will calculate all commissions and charges according to InteractiveBrokers rules.

Calculation

Current calculation for InteractiveBrokers at: http://www.interactivebrokers.com/index.html?html/retailAccount/fees.html~top.body

Germany XETRA/IBIS: 0,1% of stock value, minimum of 4 EUR, maximum of 29 EUR

Switzerland: 0,1% of stock value, minimum of 10 CHF + 0.07% Stamp Tax

UK: 0,1% of stock value, minimum of 5 GBP + 0.5% UK Stamp Tax on purchase

Ireland: same as UK, but 1% Irish Stamp Tax

US: USD 0.01 / share, up to 500 shares USD 0.005 / share, for 501th share and up minimum of 1 USD

Options and futures commissions are not considered.

No annual charge.

Parameters

The first parameter could be initialized to :

'de' => Germany Xetra, 'ch' => Switzerland, 'ie' => Ireland, 'uk' => United Kingdom, 'us' => US Markets

$broker->calculate_order_commission($order)

Return the amount of money ask by the broker for the given order.

$broker->calculate_annual_account_charge($portfolio, $year)

Return the amount of money ask by the broker for the given year according to the given portfolio, which is 0 EUR.