> ## Documentation Index
> Fetch the complete documentation index at: https://systematica.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Systematica

> BlockForce Capital

<img className="block dark:hidden mx-auto" src="https://mintcdn.com/systematica/pAElWApsyiJCuX__/images/bfc-logo-light.png?fit=max&auto=format&n=pAElWApsyiJCuX__&q=85&s=fab30431d2e39269a4eb913b9e7030a5" alt="Hero Light" style={{ width:"80%" }} width="2000" height="652" data-path="images/bfc-logo-light.png" />

<img className="hidden dark:block mx-auto" src="https://mintcdn.com/systematica/pAElWApsyiJCuX__/images/bfc-logo-dark.png?fit=max&auto=format&n=pAElWApsyiJCuX__&q=85&s=a5af316e3abc80acd0b2b21f01712f8f" alt="Hero Dark" style={{ width:"80%" }} width="2000" height="652" data-path="images/bfc-logo-dark.png" />

## Setting up

<CardGroup cols={2}>
  <Card title="Installation" icon="pen-to-square" href="getting-started/installation">
    Install the project.
  </Card>

  <Card title="Quickstart" icon="thumbtack" href="getting-started/quickstart">
    General use cases.
  </Card>

  <Card title="Contributing" icon="screwdriver-wrench" href="getting-started/contributing">
    Extend Systematica.
  </Card>

  <Card title="Development tips" icon="palette" href="getting-started/development_tips">
    Code format & principles.
  </Card>

  <Card title="Key Features" icon="stars" href="getting-started/key_features">
    Opportunity and limitations.
  </Card>

  <Card title="API Reference" icon="code" href="api-reference/systematica">
    Run tests.
  </Card>
</CardGroup>

## Investment Philosophy

<Steps>
  <Step title="Econometric foundation">
    Our interdisciplinary analysis is rigorously driven by economics, econometrics, and econophysics.
  </Step>

  <Step title="Non-linearity & regime changes">
    We recognize that regime changes significantly impact portfolio risk, causing systematic shifts in Beta. We capitalize on diverse investment horizons and liquidity factors to exploit these opportunities.
  </Step>

  <Step title="Universal market principles">
    We identify and leverage the underlying dynamics that govern market behavior, regardless of specific market conditions.
  </Step>

  <Step title="Exploiting market dynamics">
    Our strategies exploit mispricing in volatile markets, incorporating both rational and behavioral finance within adaptive and fractal market structures, while actively managing risk across diverse time horizons.
  </Step>
</Steps>

## Market Hypothesis

**Noisy Market Hypothesis**:

* Prices do not always reflect the true value of an asset at a given time. (speculators, momentum traders, insiders, or institutions buying or selling for reasons unrelated to the company's fundamentals).
* These short- or long-term movements are called “noise” and can obscure the true value of an asset.

**Adaptive Market Hypothesis**:

* The adaptive market hypothesis (AMH) combines EMH with behavioral finance.
* Investors are rational but may overreact during periods of high market volatility, exacerbating price movements.
* In AMH, investors are driven by self-interest, make mistakes, and tend to adapt and learn from their errors.

**Fractal Market Hypothesis**:

* The fractal market hypothesis (FMH) is an extension of EMH and a theory of uncertainty related to different investment horizons.
* Increased uncertainty (change) over future horizons leads to sudden volatility.
* In reality, market prices follow fractal properties over time, evolving based on available information.
* Market Randomness, Investor Time Horizons and varying liquidity across different market segments influence the market over an entire economic cycle.

## Directional vs. Non-Directional Strategies

**Statistical Arbitrage**:
Risk arbitrage based on the differential between discount and premium per unit of risk.

* **Underlying Asset**: Crypto
* **Positioning**: Long/Short
* **Risks**: Market Neutral (Systemic), Liquidity, Model, Idiosyncratic
* **Objectives**: Identify undervalued/overvalued securities, analyze risk factors.
* **Advantages**: Low volatility, minimal market correlation, historically stable performance.
* **Disadvantages**: Less attractive during bull markets, high transaction costs when rebalancing.

**Relative Value Arbitrage**:
Detecting temporary pricing disparities between securities that are mathematically and historically cointegrated.

* **Underlying Asset**: Crypto/Derivatives
* **Positioning**: Long/Short
* **Risks**: Market Neutral (Systemic), Liquidity, Model, Idiosyncratic
* **Objectives**: Combine multiple strategies: Direct pairs, Indirect pairs
* **Advantages**: Purely non-directional strategy, capitalizes on market inefficiencies.
* **Disadvantages**: Struggle to compete with specialists, exposure to management and model risks.

**Volatility Arbitrage**:
Treating volatility as an asset and predicting its increases or decreases using combined positions in call and put options.

* **Underlying Asset**: Crypto
* **Positioning**: Long/Short volatility
* **Risks**: Market Neutral (Systemic), Model
* **Objectives**: Use combined positions in call and put options, internal option pricing model
* **Advantages**: Flexibility, controlled risk.
* **Disadvantages**: Complexity at the portfolio level, limited profit potential when shorting volatility.

## Combining Diverse Alpha Sources

* **Asymmetric Distributions Model**:
  Captures market asymmetries and tail risks in return distributions, adapting quickly to inflection points
* **Volatility Models**:
  Leverages historical/implied volatility and trading volume to predict price movements
* **Price Actions**:
  Analyses indicators and capitalises on persistence of asset performance trends
* **Non-Linear Mean Reversion Model**:
  Models complex dynamics where prices revert to long-term averages in sophisticated patterns
* **Momentum & Sentiment**:
  Combining multiple time horizon, momentum and volatility.
* **Volume & Sentiment**:
  Combining volume-based signals with price movement. Highlights volume surges and volume-price trends to generate an indicator
* **And More...**

## Portfolio Construction

**Portfolio Selection**:

* Integration of computer science, power engineering, and quantitative analysis.
* Multi-objective optimization leverages the Pareto front to identify efficient trade-offs between risk and return.
* BlockForce Capital’s workflow efficiently reproduces trials from a large pool of cross-validated tests and parallelizes their execution in multiple ways. Strategies can be combined in the same portfolio by stacking their respective arrays along columns, enabling joint simulation and analysis.
* Example: Hull Point selects solutions based on the convex hull of the Pareto front or Hypervolume Contribution.

**Optimization**:

* Walk-forward analysis is best to prevent overfitting historical data.
* The API connects with each Suggest or Pruning algorithm. Each worker represents a different trial.
* The suggest and pruning algorithms update the storage simultaneously. Each worker makes decisions based on the current state of storage.
* The report and return methods make calls directly to the storage.

## Meta-Modeling

<Steps>
  <Step title="State">
    The process starts by defining the current market regime.
  </Step>

  <Step title="Agent">
    A decision-making entity uses different alpha sources to evaluate actions based on state representation, environment and reward.
  </Step>

  <Step title="Action">
    The Agent makes a choice which enhances trading accuracy by correlating indicators and identifying new information.
  </Step>

  <Step title="Environment">
    External conditions influence agent decisions by adapting to market changes.
  </Step>

  <Step title="Reward">
    The outcome feedback is measured using a binary reward function to encourage maximized returns.
  </Step>
</Steps>

## Dynamic Risk Management

Our approach integrates cutting-edge research with financial engineering to identify the most relevant factors and manage portfolio construction efficiently. By constantly innovating and adapting to market regimes, we avoid overcrowded trades whilst maintaining optimal risk-return profiles.

**Risk Identification & Monitoring**:

* Core risk factors analysis
* Continuous monitoring via proprietary non-linear systems
* Dynamic exposure adjustments based on market signals

**Portfolio Construction**:

* Alpha generation through cross-sectional return prediction
* Maximise residual returns whilst maintaining beta neutrality
* Position sizing optimisation based on evolving conditions

**Risk Metrics & Tools**:

* Maximum drawdown (MDD) monitoring
* Conditional Value at Risk (CVaR) calculations
* Real-time stress testing and scenario analysis
