[Legacy] Submission
Finter Model Submission Helper Guide
This comprehensive guide is designed to streamline the process of preparing and submitting your Alpha Model (AM) through the use of the NotebookSubmissionHelper
provided by the finter package. By leveraging this helper, you can concentrate on refining your model while the submission nuances are efficiently handled in the background.
Import NotebookSubmissionHelper
First, import the NotebookSubmissionHelper
class from the finter.framework_model
module
Configure Your Model
It's crucial to detail your model's specifications. Specify the notebook's name, your model's name, its target universe, and type.
Submission
Create an instance of NotebookSubmissionHelper
with the configuration you've defined.
Once you have completed these steps, your model is ready for submission. Below are additional features you might find useful:
Processing Your Model
To execute your model's code, run simulations, validate outputs, and prepare for submission, use the process
method with appropriate parameters.
The process
method accepts several parameters:
start
: The evaluation period's start date.end
: The evaluation period's end date.position
: Processes position data if set to True.simulation
: Runs a model simulation if True.validation
: Validates the model's output if True.submit
: Submits the model to Finter. Set to False for a review before submission.git
: Synchronizes your model with GitHub if True, facilitating version control and collaboration.docker_submit
: If set to True, the model will be submitted using the Docker submit. If set to False, the model will be submitted using the legacy submit.
Docker submit
The Docker submit allows you to build and submit models using your preferred Python development environment through Docker, resolving the fixed Python environment issue that was present in the legacy submit process.
The Python environment must be specified using Poetry
, and the submit folder must include the pyproject.toml
and poetry.lock
files. If you are working from the Jupyter files in the Home directory of the Quantit Jupyterlab environment, these files will be automatically generated. Alternatively, you can create the Poetry files manually.
For more details about Poetry, please refer to this link: https://python-poetry.org/docs.
Review, Update, and Submit
After processing, thoroughly review the output at each step. Once you're satisfied and ready to submit, set the submit
parameter to True and rerun the process
method to finalize your submission.
By following this guide, you can efficiently prepare and submit your model to Finter, ensuring a smooth transition through necessary checks and simulations. The added GitHub synchronization feature enhances collaboration and version control, making your model development process more effective and organized.
Last updated