The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Finance::GeniusTrader::MoneyManagement::ShareMultiples

Overview

This money management rule will provide you a tool to buy/sell round lots of shares (ie: multiples of 5, 10 or 50).

Parameters

By default, the first parameter is initialized to 10 and will provide share multiples of 10 stocks. The second option is set up to zero and represent the calculation method, but look at all options :

0 : round to the nearest multiple 1 : round to the lower multiple 2 : round to the upper multiple