refactored amount calculations into eligible security
minor refactorings
comment fixes
fix to inventory optimiser due to refactoring in allocations
as parallel attempt
minor optimisations
added chart mock
minor enhancement to retrieve eligible sec faster
more optimisations, down to 4.5 secs
fixed equity not filtering correctly and eligible security