Installation
Require the package with Composer. The service provider is auto-discovered — no manual registration:
composer require roundly-consulting/trading-analytics-for-laravelThe package ships no migrations, views or commands. It is a calculation library you call from your own code: it stores nothing and works only on the trades you pass in.
Optionally publish the config file to change the default precision or win-rate period:
php artisan vendor:publish --tag="trading-analytics-config"trading-analytics-config is the only publish tag the package exposes.
At a glance
The package adds a section to Laravel’s about command that reports the configured decimal scale and win-rate period. A malformed value is shown as INVALID — the engine throws on it — and about keeps working:
php artisan about --only=trading-analyticsShow your open-source love
This package is free and MIT-licensed. If it saves you time, a one-off donation or a Patreon membership keeps it maintained, tested and documented.
More ways to support, including cryptoBy donating, you agree to our donation terms.
Want this built into your product?
We integrate our packages into custom Laravel and AI builds. Tell us what you're working on and we'll reply within 48 hours.