# Machine Learning Process

![](https://1173277989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVe76CBO9xZ88aSIH4s%2Fuploads%2FbsJvyFPxDUuEVyTYrKkV%2Four%20investing%20process.png?alt=media\&token=9bc822ce-8cab-4c81-9b3c-e439c642ad71)

We are a team of data scientists and traders who believe that machine learning can help us make more informed decisions.

We have developed 7 steps for building our AI-driven strategies, which you will find outlined below.

### <img src="https://lh6.googleusercontent.com/6SR9dv9vdX4T1mXP6echIC5U6dIfhyBYaStWGtce8IGoLvgzYZj6Nzhl_35OGJdqGB4iHbS-SbZkEEzuMwgJpp5FbuVjoN3tsP6dFNXiLP-4mrfemaRyLa4707G0QGbrCVlGQLpE4XnjnGnjgw" alt="" data-size="line"> #1 Data Aggregation

Data is the backbone of our investing process. We use a variety of sources to help us begin to make informed decisions. These sources include order book and exchange information like funding rates, macroeconomic trends that can impact the global markets, social media sentiment, and crypto on-chain analytics.

### <img src="https://1173277989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVe76CBO9xZ88aSIH4s%2Fuploads%2FX2Sc3UfLQBqJKc9Cii4l%2F2313808.png?alt=media&#x26;token=97d99141-63e0-47f4-beb6-bf0c5363eac8" alt="" data-size="line"> #2 Data Compression & Thesis Creation

We summarize and clean the data to remove noise while identifying key features or trends. During this step, we seek exploitable edges in the market that can be used for strategy formulation.

### <img src="https://1173277989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVe76CBO9xZ88aSIH4s%2Fuploads%2F5q3aNzT2DL09FVnzVYyp%2Fdata-validation.png?alt=media&#x26;token=83fbccbb-9400-41e1-8f61-373418dccf45" alt="" data-size="line"> #3 Thesis Validation & Optimization

We use historical data to validate the effectiveness of our strategies thesis. If it looks promising, then optimization and fine-tuning can begin in order for us to find out which features are useful by running backtests on them throughout time periods that span from months all the way up to years.

### <img src="https://lh3.googleusercontent.com/KzNxyb5CRYpOedctOwZYolv-_KkrXi_ZKoQLyUvhr50SSEcrWUzdhtLFSQ2eIzS4I2EkPhM7TCVHGoOZZ-F1K-9z3dtXkZY9d6CMV-5TJUCLxH7HOU5y1V2Pt5lv6VN7ckG6mVEblFVDhY4rvg" alt="" data-size="line"> #4 Machine Learning Overlay

The signals from our strategy thesis are combined with the results of a backtest and input into machine learning models that determine whether or not to act on future opportunities.

### <img src="https://lh3.googleusercontent.com/TQJTybktl7hqXK0NhU1b0tSSHWpMahrDoZHy2MDi6JVZ-KPpivwzB3SE9lcGvl0o9i5lXfJqOOW-geUMb3z23syPnZVydOBKTSrj_pVJd2PiemHqRXHrw0xpoj_B3kFqgo6eghDaGvwgS1VgDg" alt="" data-size="line"> #5 Risk Management Creation

Using machine learning techniques, we are able to determine how much money should optimally be bet on each trade. Our risk management model draws from the Kelly criterion for betting and order flow toxicity as well other factors such as on-chain movements or general liquidity conditions in markets at large when building our "emergency trigger".

### <img src="https://lh4.googleusercontent.com/3YOydpYGTt6rS02I5A8uscswTkRhv4JvQdV5DPF0dBK-7D4eLbNckn23ShJhz46tq4MCxg7BInxLDAStoVqrB7DaquNtaMrkgj6DAxNSy3DjwEr3eH7chCszABv9yWdCQi_PqlWNHKVCcB8v-Q" alt="" data-size="line"> #6 Real-Time Testing

Once we have optimized a strategy for success, the next step is to run a live test with some capital. We monitor how well our algorithm performs in real-time on live market data and then pick out strategy sets of winners based on that performance. This process allows us to get an idea if there are any areas where improvements need to be made before going full steam ahead.

### <img src="https://1173277989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHaVe76CBO9xZ88aSIH4s%2Fuploads%2FJ2IVWdPA3gXmgyMogynU%2FTrading-PNG.png?alt=media&#x26;token=143a2d84-552d-43fc-ba87-4cbc40c0a28d" alt="" data-size="line"> #7 Strategy Deployment & Monitoring

Once we deploy our strategies, our quantitative research team is on the lookout for any sign that the algorithms may not be working as they should. If we see something, then we immediately put into action solutions so that trading can continue smoothly.

### Relevant Products

{% content-ref url="products/strategies/quantum-momentum" %}
[quantum-momentum](https://suninvest.gitbook.io/sw-dao/products/strategies/quantum-momentum)
{% endcontent-ref %}

{% content-ref url="broken-reference" %}
[Broken link](https://suninvest.gitbook.io/sw-dao/broken-reference)
{% endcontent-ref %}

{% content-ref url="products/strategies/macro-trend" %}
[macro-trend](https://suninvest.gitbook.io/sw-dao/products/strategies/macro-trend)
{% endcontent-ref %}

{% hint style="info" %}
As a glimpse behind the curtain, we hope this provides inspiration for you and others who want to join our team of quant researchers and build innovative investment products. Our team is always looking for talented individuals with a passion for finance. If you want to be part of our growing team, please reach out and let us know!
{% endhint %}


---

# 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://suninvest.gitbook.io/sw-dao/machine-learning-process.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.
