I am unsure if this functionality already exists within the code base.
When instantiating a TimeFrame object without a 'resolution' suggestion to return a helpful user message: "Resolution of the data has not been set, please consider setting this with: 'resolution=', or use the 'infer_resolution' arg (see below)".
The reason I mention is because the default is PT0.000001S, which may lead to breakages and improper use
Could also use a 'infer_resolution' bool to the TF base class. The inference can only be made if all the time_steps are this resolution else warning/error
I am unsure if this functionality already exists within the code base.
When instantiating a TimeFrame object without a 'resolution' suggestion to return a helpful user message: "Resolution of the data has not been set, please consider setting this with: 'resolution=', or use the 'infer_resolution' arg (see below)".
The reason I mention is because the default is PT0.000001S, which may lead to breakages and improper use
Could also use a 'infer_resolution' bool to the TF base class. The inference can only be made if all the time_steps are this resolution else warning/error