# Factor factory

This module creates factor return series based on the conventional factor creation method. We need to select an unbalanced dataset to cover a large investment universe and select asset characters (data type) as the ranking base - for example, Market Cap at T-1 - for a size-sorting factor. Note: this module only supports univariate sorting but not bivariate double-sorting.

In the *portfolio settings* tab, users can choose the number of buckets (default is 10), long-short bucket selection, and then save the specified portfolio as a factor return series.

For more information, please see [Fama, E. F., & French, K. R. (1993). Common risk factors in the returns on stocks and bonds. Journal of financial economics, 33(1), 3-56.](https://www.jufinance.com/mag/fin534_16/Common_risk_factors_Fama_French_JFE1993.pdf)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nuvolos.com/help-and-reference/application-reference/invelab/modules/factor-factory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
