> For the complete documentation index, see [llms.txt](https://docs.fiinquant.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fiinquant.vn/fiinquant-en/technical-document/installation-and-preparation.md).

# Installation and preparation

<figure><img src="/files/ll4cukib6lzGJ5g1BRfH" alt=""><figcaption></figcaption></figure>

### 1. Installing Python on Windows 🖥️

Install from Python.org (Recommended)

{% stepper %}
{% step %}
**📌  Download Python**

&#x20;Access [Python Homepage](https://www.python.org/downloads/windows/)&#x20;

Click Download Python (Latest version)
{% endstep %}

{% step %}
**📌 Install Python**

Open the downloaded .exe file.

Click “Add Python to PATH”

Click "Install Now" and wait for the installation process to complete.
{% endstep %}

{% step %}
**📌** Verify installation

Open Command Prompt (CMD) and type:

```
python --version
```

{% endstep %}
{% endstepper %}

### 2. Install FiinQuant library. <a href="#cai-dat-thu-vien-fiinquant" id="cai-dat-thu-vien-fiinquant"></a>

```
pip install --extra-index-url https://fiinquant.github.io/fiinquantx/simple fiinquantx
```

Update library when a new version is available.

```
pip install --upgrade --extra-index-url https://fiinquant.github.io/fiinquantx/simple fiinquantx
```

Note: <mark style="color:red;">**DO NOT NAME YOUR PYTHON SCRIPT FILES THE SAME AS THE LIBRARY (i.e., FiinQuant).**</mark>\ <br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.fiinquant.vn/fiinquant-en/technical-document/installation-and-preparation.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.
