Erik Colson > Finance-GeniusTrader-0.00_50 > Finance::GeniusTrader::Brokers

Download:
Finance-GeniusTrader-0.00_50.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Finance::GeniusTrader::Brokers - A module for calculating broker's fee & commissions

DESCRIPTION ^

Brokers rules are used to calculate commissions for each buy/sell order, as well as annual account charge.

$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.