2DegreesInvesting / tiltIndicator

Implement the core business logic of the tilt indicators
https://2degreesinvesting.github.io/tiltIndicator/
GNU General Public License v3.0
1 stars 1 forks source link

New class 'profile', and friends `profile()`, `is_profile()` #768

Closed maurolepore closed 5 months ago

maurolepore commented 5 months ago

This PR creates the class 'profile' and provides a the profiile() constructor. This also includes is_profile(), an a developer facing validator and constructor.

Advice from https://adv-r.hadley.nz/s3.html#s3-classes

The goal is to allow polymorphic behaviour downstrem.


TODO

EXCEPTIONS