Skip to content

Instantly share code, notes, and snippets.

@faysou
Last active October 30, 2025 22:07
Show Gist options
  • Select an option

  • Save faysou/c7adc018e99ac05c9a63ac092a06e7f5 to your computer and use it in GitHub Desktop.

Select an option

Save faysou/c7adc018e99ac05c9a63ac092a06e7f5 to your computer and use it in GitHub Desktop.

Revisions

  1. faysou revised this gist Oct 30, 2025. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -14,10 +14,10 @@ cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
    cd $NAUTILUS_DIR/nautilus_trader

    uv python install 3.14
    uv python install 3.13

    rm -rf .venv
    uv venv --python 3.14
    uv venv --python 3.13
    source .venv/bin/activate

    # echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
  2. faysou revised this gist Oct 30, 2025. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -20,8 +20,8 @@ rm -rf .venv
    uv venv --python 3.14
    source .venv/bin/activate

    echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    source ~/.zshrc
    # echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    # source ~/.zshrc

    make install-debug
    pre-commit install
  3. faysou revised this gist Oct 30, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,8 @@ uv python install 3.14

    rm -rf .venv
    uv venv --python 3.14
    source .venv/bin/activate

    echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    source ~/.zshrc

  4. faysou revised this gist Oct 30, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,8 @@ git clone --single-branch --branch develop https://github.com/nautechsystems/nau
    cd $NAUTILUS_DIR/nautilus_trader

    uv python install 3.14

    rm -rf .venv
    uv venv --python 3.14
    echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    source ~/.zshrc
  5. faysou revised this gist Oct 30, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ git clone --single-branch --branch develop https://github.com/nautechsystems/nau
    cd $NAUTILUS_DIR/nautilus_trader

    uv python install 3.14
    uv venv --python 3.11
    uv venv --python 3.14
    echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    source ~/.zshrc

  6. faysou revised this gist Oct 30, 2025. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,10 @@ source ~/.cargo/env
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source ~/.zshrc

    brew install pre-commit

    NAUTILUS_DIR=~/Developer/nautilus

    mkdir -p $NAUTILUS_DIR
    cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
    @@ -17,8 +20,6 @@ echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    source ~/.zshrc

    make install-debug

    brew install pre-commit
    pre-commit install

    uv pip install jupyter chardet jupyterlab_execute_time databento polars ipyfilechooser \
  7. faysou revised this gist Oct 30, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ git clone --single-branch --branch develop https://github.com/nautechsystems/nau
    cd $NAUTILUS_DIR/nautilus_trader

    uv python install 3.14
    uv venv
    uv venv --python 3.11
    echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    source ~/.zshrc

  8. faysou revised this gist Oct 30, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -32,4 +32,6 @@ evcxr_jupyter --install
    PYTHON_PATH=$(which python)
    echo -e "\n[env]\nPYO3_PYTHON = \"$PYTHON_PATH\"" >> .cargo/config.toml
    git update-index --skip-worktree .cargo/config.toml

    git update-index --skip-worktree tests/test_data/large/checksums.json
    ```
  9. faysou revised this gist Oct 30, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
    cd $NAUTILUS_DIR/nautilus_trader

    uv python install 3.13
    uv python install 3.14
    uv venv
    echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    source ~/.zshrc
  10. faysou revised this gist Jun 3, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ pre-commit install

    uv pip install jupyter chardet jupyterlab_execute_time databento polars ipyfilechooser \
    lightweight_charts jupytext xmltodict maturin jupyterlab-quarto qgridnext \
    anywidget great_tables
    anywidget great_tables scipy
    uv run jupytext-config set-default-viewer

    cargo install --locked evcxr_jupyter
  11. faysou revised this gist May 16, 2025. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -21,15 +21,15 @@ make install-debug
    brew install pre-commit
    pre-commit install

    PYTHON_PATH=$(which python)
    echo -e "\n[env]\nPYO3_PYTHON = \"$PYTHON_PATH\"" >> .cargo/config.toml
    git update-index --skip-worktree .cargo/config.toml

    uv pip install jupyter chardet jupyterlab_execute_time databento polars ipyfilechooser \
    lightweight_charts jupytext xmltodict maturin jupyterlab-quarto qgridnext \
    anywidget great_tables
    uv run jupytext-config set-default-viewer

    cargo install --locked evcxr_jupyter
    evcxr_jupyter --install

    PYTHON_PATH=$(which python)
    echo -e "\n[env]\nPYO3_PYTHON = \"$PYTHON_PATH\"" >> .cargo/config.toml
    git update-index --skip-worktree .cargo/config.toml
    ```
  12. faysou revised this gist Apr 19, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -26,7 +26,7 @@ echo -e "\n[env]\nPYO3_PYTHON = \"$PYTHON_PATH\"" >> .cargo/config.toml
    git update-index --skip-worktree .cargo/config.toml

    uv pip install jupyter chardet jupyterlab_execute_time databento polars ipyfilechooser \
    lightweight_charts jupytext==1.16.6 xmltodict maturin jupyterlab-quarto qgridnext \
    lightweight_charts jupytext xmltodict maturin jupyterlab-quarto qgridnext \
    anywidget great_tables
    uv run jupytext-config set-default-viewer

  13. faysou revised this gist Apr 10, 2025. 1 changed file with 4 additions and 9 deletions.
    13 changes: 4 additions & 9 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -1,15 +1,8 @@
    ```bash
    add_to_zshrc() {
    local line_to_add="$1"
    if ! grep -q "$line_to_add" ~/.zshrc; then
    echo -e "\n$line_to_add" >> ~/.zshrc
    fi
    }

    curl https://sh.rustup.rs -sSf | bash -s -- -y
    source ~/.cargo/env

    curl -LsSf https://astral.sh/uv/install.sh | sh
    brew install pre-commit
    source ~/.zshrc

    NAUTILUS_DIR=~/Developer/nautilus
    @@ -20,10 +13,12 @@ cd $NAUTILUS_DIR/nautilus_trader

    uv python install 3.13
    uv venv
    add_to_zshrc "source $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate"
    echo -e "\nsource $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate" >> ~/.zshrc
    source ~/.zshrc

    make install-debug

    brew install pre-commit
    pre-commit install

    PYTHON_PATH=$(which python)
  14. faysou revised this gist Apr 10, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@ cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
    cd $NAUTILUS_DIR/nautilus_trader

    uv python install 3.12
    uv python install 3.13
    uv venv
    add_to_zshrc "source $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate"
    source ~/.zshrc
  15. faysou revised this gist Apr 7, 2025. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -31,7 +31,8 @@ echo -e "\n[env]\nPYO3_PYTHON = \"$PYTHON_PATH\"" >> .cargo/config.toml
    git update-index --skip-worktree .cargo/config.toml

    uv pip install jupyter chardet jupyterlab_execute_time databento polars ipyfilechooser \
    lightweight_charts jupytext==1.16.6 xmltodict maturin jupyterlab-quarto qgridnext anywidget
    lightweight_charts jupytext==1.16.6 xmltodict maturin jupyterlab-quarto qgridnext \
    anywidget great_tables
    uv run jupytext-config set-default-viewer

    cargo install --locked evcxr_jupyter
  16. faysou revised this gist Apr 7, 2025. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -30,7 +30,8 @@ PYTHON_PATH=$(which python)
    echo -e "\n[env]\nPYO3_PYTHON = \"$PYTHON_PATH\"" >> .cargo/config.toml
    git update-index --skip-worktree .cargo/config.toml

    uv pip install jupyter chardet jupyterlab_execute_time databento polars ipyfilechooser lightweight_charts jupytext==1.16.6 xmltodict maturin jupyterlab-quarto qgridnext
    uv pip install jupyter chardet jupyterlab_execute_time databento polars ipyfilechooser \
    lightweight_charts jupytext==1.16.6 xmltodict maturin jupyterlab-quarto qgridnext anywidget
    uv run jupytext-config set-default-viewer

    cargo install --locked evcxr_jupyter
  17. faysou revised this gist Mar 26, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,7 @@ add_to_zshrc() {
    }

    curl https://sh.rustup.rs -sSf | bash -s -- -y
    source ~/.cargo/env
    curl -LsSf https://astral.sh/uv/install.sh | sh
    brew install pre-commit
    source ~/.zshrc
  18. faysou revised this gist Mar 26, 2025. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -6,9 +6,7 @@ add_to_zshrc() {
    fi
    }

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    source ~/.cargo/env

    curl https://sh.rustup.rs -sSf | bash -s -- -y
    curl -LsSf https://astral.sh/uv/install.sh | sh
    brew install pre-commit
    source ~/.zshrc
  19. faysou revised this gist Mar 26, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,8 @@ add_to_zshrc() {
    }

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
    source ~/.cargo/env

    curl -LsSf https://astral.sh/uv/install.sh | sh
    brew install pre-commit
    source ~/.zshrc
  20. faysou revised this gist Mar 21, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,7 @@ curl -LsSf https://astral.sh/uv/install.sh | sh
    brew install pre-commit
    source ~/.zshrc

    NAUTILUS_DIR=~/code/nautilus
    NAUTILUS_DIR=~/Developer/nautilus
    mkdir -p $NAUTILUS_DIR
    cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
  21. faysou revised this gist Mar 17, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,7 @@ PYTHON_PATH=$(which python)
    echo -e "\n[env]\nPYO3_PYTHON = \"$PYTHON_PATH\"" >> .cargo/config.toml
    git update-index --skip-worktree .cargo/config.toml

    uv pip install jupyter jupyterlab_execute_time databento polars ipyfilechooser lightweight_charts jupytext xmltodict maturin jupyterlab-quarto qgridnext
    uv pip install jupyter chardet jupyterlab_execute_time databento polars ipyfilechooser lightweight_charts jupytext==1.16.6 xmltodict maturin jupyterlab-quarto qgridnext
    uv run jupytext-config set-default-viewer

    cargo install --locked evcxr_jupyter
  22. faysou revised this gist Mar 14, 2025. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -25,6 +25,10 @@ source ~/.zshrc
    make install-debug
    pre-commit install

    PYTHON_PATH=$(which python)
    echo -e "\n[env]\nPYO3_PYTHON = \"$PYTHON_PATH\"" >> .cargo/config.toml
    git update-index --skip-worktree .cargo/config.toml

    uv pip install jupyter jupyterlab_execute_time databento polars ipyfilechooser lightweight_charts jupytext xmltodict maturin jupyterlab-quarto qgridnext
    uv run jupytext-config set-default-viewer

  23. faysou revised this gist Mar 5, 2025. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -11,14 +11,13 @@ curl -LsSf https://astral.sh/uv/install.sh | sh
    brew install pre-commit
    source ~/.zshrc

    uv python install 3.12

    NAUTILUS_DIR=~/code/nautilus
    mkdir -p $NAUTILUS_DIR
    cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
    cd $NAUTILUS_DIR/nautilus_trader

    uv python install 3.12
    uv venv
    add_to_zshrc "source $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate"
    source ~/.zshrc
  24. faysou revised this gist Mar 5, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ uv venv
    add_to_zshrc "source $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate"
    source ~/.zshrc

    make install-debug-uv
    make install-debug
    pre-commit install

    uv pip install jupyter jupyterlab_execute_time databento polars ipyfilechooser lightweight_charts jupytext xmltodict maturin jupyterlab-quarto qgridnext
  25. faysou revised this gist Mar 5, 2025. 1 changed file with 5 additions and 4 deletions.
    9 changes: 5 additions & 4 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -17,14 +17,15 @@ NAUTILUS_DIR=~/code/nautilus
    mkdir -p $NAUTILUS_DIR
    cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
    cd $NAUTILUS_DIR/nautilus_trader

    make install-debug-uv
    pre-commit install
    cd $NAUTILUS_DIR/nautilus_trader

    uv venv
    add_to_zshrc "source $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate"
    source ~/.zshrc

    make install-debug-uv
    pre-commit install

    uv pip install jupyter jupyterlab_execute_time databento polars ipyfilechooser lightweight_charts jupytext xmltodict maturin jupyterlab-quarto qgridnext
    uv run jupytext-config set-default-viewer

  26. faysou revised this gist Mar 5, 2025. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -20,9 +20,10 @@ git clone --single-branch --branch develop https://github.com/nautechsystems/nau
    cd $NAUTILUS_DIR/nautilus_trader

    make install-debug-uv
    pre-commit install

    add_to_zshrc "source $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate"
    source ~/.zshrc
    pre-commit install

    uv pip install jupyter jupyterlab_execute_time databento polars ipyfilechooser lightweight_charts jupytext xmltodict maturin jupyterlab-quarto qgridnext
    uv run jupytext-config set-default-viewer
  27. faysou revised this gist Mar 5, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,7 @@ cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
    cd $NAUTILUS_DIR/nautilus_trader

    make install
    make install-debug-uv
    add_to_zshrc "source $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate"
    source ~/.zshrc
    pre-commit install
  28. faysou revised this gist Mar 4, 2025. No changes.
  29. faysou revised this gist Mar 4, 2025. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -18,6 +18,7 @@ mkdir -p $NAUTILUS_DIR
    cd $NAUTILUS_DIR
    git clone --single-branch --branch develop https://github.com/nautechsystems/nautilus_trader.git
    cd $NAUTILUS_DIR/nautilus_trader

    make install
    add_to_zshrc "source $NAUTILUS_DIR/nautilus_trader/.venv/bin/activate"
    source ~/.zshrc
  30. faysou revised this gist Mar 3, 2025. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Nautilus_Install.md
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,8 @@ curl -LsSf https://astral.sh/uv/install.sh | sh
    brew install pre-commit
    source ~/.zshrc

    uv python install 3.12

    NAUTILUS_DIR=~/code/nautilus
    mkdir -p $NAUTILUS_DIR
    cd $NAUTILUS_DIR