diff --git a/source/programming/example-trading-strategies.rst b/source/programming/example-trading-strategies.rst new file mode 100644 index 0000000..50b36aa --- /dev/null +++ b/source/programming/example-trading-strategies.rst @@ -0,0 +1,22 @@ +.. meta :: + :description: Full algorithmic trading strategy examples in Python + :title: Trading strategy examples in Python + +Trading strategy examples +========================= + +Trading Strategy examples are in `Getting Started `__ github repository. + +- `Refer to the Example strategy backtests for the full example list `__ + +Old examples +------------ + +.. warning:: + + These examples won't run anymore. + +You can find some old code examples which have been deprecated. + +- :doc:`Old trading strategies <../old-strategies>` +- :doc:`More trading strategies <../more-old-strategy-examples>` \ No newline at end of file diff --git a/source/programming/index.rst b/source/programming/index.rst index 9e6a1e3..282e69d 100644 --- a/source/programming/index.rst +++ b/source/programming/index.rst @@ -1,3 +1,7 @@ +.. meta :: + :description: How to develop your own trading strategy in Python + :title: Developing trading strategies + .. _framework: Developing strategies @@ -19,10 +23,11 @@ Developer documentation: :maxdepth: 1 setting-up-development-environment/index + example-trading-strategies code-examples/index - strategy-examples/index api/index market-data/index troubleshooting development old-strategies/index + more-old-strategy-examples/index diff --git a/source/programming/strategy-examples/backtest-fee-analysis.ipynb b/source/programming/more-old-strategy-examples/backtest-fee-analysis.ipynb similarity index 100% rename from source/programming/strategy-examples/backtest-fee-analysis.ipynb rename to source/programming/more-old-strategy-examples/backtest-fee-analysis.ipynb diff --git a/source/programming/strategy-examples/binance-data-shorting.ipynb b/source/programming/more-old-strategy-examples/binance-data-shorting.ipynb similarity index 100% rename from source/programming/strategy-examples/binance-data-shorting.ipynb rename to source/programming/more-old-strategy-examples/binance-data-shorting.ipynb diff --git a/source/programming/strategy-examples/bollinger-band-strategy.ipynb b/source/programming/more-old-strategy-examples/bollinger-band-strategy.ipynb similarity index 100% rename from source/programming/strategy-examples/bollinger-band-strategy.ipynb rename to source/programming/more-old-strategy-examples/bollinger-band-strategy.ipynb diff --git a/source/programming/strategy-examples/debugging-live-strategy.ipynb b/source/programming/more-old-strategy-examples/debugging-live-strategy.ipynb similarity index 100% rename from source/programming/strategy-examples/debugging-live-strategy.ipynb rename to source/programming/more-old-strategy-examples/debugging-live-strategy.ipynb diff --git a/source/programming/strategy-examples/examine-live-strategy.ipynb b/source/programming/more-old-strategy-examples/examine-live-strategy.ipynb similarity index 100% rename from source/programming/strategy-examples/examine-live-strategy.ipynb rename to source/programming/more-old-strategy-examples/examine-live-strategy.ipynb diff --git a/source/programming/strategy-examples/grid-search.ipynb b/source/programming/more-old-strategy-examples/grid-search.ipynb similarity index 100% rename from source/programming/strategy-examples/grid-search.ipynb rename to source/programming/more-old-strategy-examples/grid-search.ipynb diff --git a/source/programming/strategy-examples/hackatom-2022-osmosis-backtest.ipynb b/source/programming/more-old-strategy-examples/hackatom-2022-osmosis-backtest.ipynb similarity index 100% rename from source/programming/strategy-examples/hackatom-2022-osmosis-backtest.ipynb rename to source/programming/more-old-strategy-examples/hackatom-2022-osmosis-backtest.ipynb diff --git a/source/programming/strategy-examples/index.rst b/source/programming/more-old-strategy-examples/index.rst similarity index 91% rename from source/programming/strategy-examples/index.rst rename to source/programming/more-old-strategy-examples/index.rst index eadeada..f7adcb0 100644 --- a/source/programming/strategy-examples/index.rst +++ b/source/programming/more-old-strategy-examples/index.rst @@ -4,27 +4,15 @@ :description: Trading Strategy example Jupyter notebooks -Deprecated Strategy Examples -============================= +Old strategy examples (more) +=========================== -The examples listed here, as well as the documentation, are all deprecated. They are kept here for reference purposes only. Please instead refer to the latest notebooks at the `getting started repo `_. +.. warning:: -Introcution ------------ + All the examples here are deprecated. They are stored only for reference purposes, + Refer to `Getting started Github repository `__ to find to up-to-date examples + that run. -Here you can find trading strategy examples as :term:`Jupyter notebooks `. - -.. note :: - - If you are new to the Trading Strategy framework or algorithmic trading in general, - please start by watching `the recorded workshop tutorial session from Avalanche Summit `__. - -- The examples show how to use Trading Strategy framework for algorithmic trading -- Some notebooks are examples of complete strategies -- Some notebooks highlight a particular feature -- These examples also include backtests that you can run yourself. -- You can copy these files, run and and start editing them to suit your needs. -- Refer to the `Tags`_ section to see all the tags associated with each notebook Prerequisites ------------- diff --git a/source/programming/strategy-examples/long-short-bollingerbands-polygon.ipynb b/source/programming/more-old-strategy-examples/long-short-bollingerbands-polygon.ipynb similarity index 100% rename from source/programming/strategy-examples/long-short-bollingerbands-polygon.ipynb rename to source/programming/more-old-strategy-examples/long-short-bollingerbands-polygon.ipynb diff --git a/source/programming/strategy-examples/momentum-crossover.ipynb b/source/programming/more-old-strategy-examples/momentum-crossover.ipynb similarity index 100% rename from source/programming/strategy-examples/momentum-crossover.ipynb rename to source/programming/more-old-strategy-examples/momentum-crossover.ipynb diff --git a/source/programming/strategy-examples/osmosis.ipynb b/source/programming/more-old-strategy-examples/osmosis.ipynb similarity index 100% rename from source/programming/strategy-examples/osmosis.ipynb rename to source/programming/more-old-strategy-examples/osmosis.ipynb diff --git a/source/programming/strategy-examples/pancake-eth-usd-indicators.ipynb b/source/programming/more-old-strategy-examples/pancake-eth-usd-indicators.ipynb similarity index 100% rename from source/programming/strategy-examples/pancake-eth-usd-indicators.ipynb rename to source/programming/more-old-strategy-examples/pancake-eth-usd-indicators.ipynb diff --git a/source/programming/strategy-examples/pancakeswap-ema-stop-loss.ipynb b/source/programming/more-old-strategy-examples/pancakeswap-ema-stop-loss.ipynb similarity index 100% rename from source/programming/strategy-examples/pancakeswap-ema-stop-loss.ipynb rename to source/programming/more-old-strategy-examples/pancakeswap-ema-stop-loss.ipynb diff --git a/source/programming/strategy-examples/pancakeswap-ema.ipynb b/source/programming/more-old-strategy-examples/pancakeswap-ema.ipynb similarity index 100% rename from source/programming/strategy-examples/pancakeswap-ema.ipynb rename to source/programming/more-old-strategy-examples/pancakeswap-ema.ipynb diff --git a/source/programming/strategy-examples/portfolio-construction-model.ipynb b/source/programming/more-old-strategy-examples/portfolio-construction-model.ipynb similarity index 100% rename from source/programming/strategy-examples/portfolio-construction-model.ipynb rename to source/programming/more-old-strategy-examples/portfolio-construction-model.ipynb diff --git a/source/programming/strategy-examples/running.rst b/source/programming/more-old-strategy-examples/running.rst similarity index 100% rename from source/programming/strategy-examples/running.rst rename to source/programming/more-old-strategy-examples/running.rst diff --git a/source/programming/strategy-examples/state-candles-from-live-strategy.ipynb b/source/programming/more-old-strategy-examples/state-candles-from-live-strategy.ipynb similarity index 100% rename from source/programming/strategy-examples/state-candles-from-live-strategy.ipynb rename to source/programming/more-old-strategy-examples/state-candles-from-live-strategy.ipynb diff --git a/source/programming/strategy-examples/strategy-backtest-template.ipynb b/source/programming/more-old-strategy-examples/strategy-backtest-template.ipynb similarity index 100% rename from source/programming/strategy-examples/strategy-backtest-template.ipynb rename to source/programming/more-old-strategy-examples/strategy-backtest-template.ipynb diff --git a/source/programming/strategy-examples/synthetic-ema-stop-loss.ipynb b/source/programming/more-old-strategy-examples/synthetic-ema-stop-loss.ipynb similarity index 100% rename from source/programming/strategy-examples/synthetic-ema-stop-loss.ipynb rename to source/programming/more-old-strategy-examples/synthetic-ema-stop-loss.ipynb diff --git a/source/programming/strategy-examples/synthetic-ema.ipynb b/source/programming/more-old-strategy-examples/synthetic-ema.ipynb similarity index 100% rename from source/programming/strategy-examples/synthetic-ema.ipynb rename to source/programming/more-old-strategy-examples/synthetic-ema.ipynb diff --git a/source/programming/strategy-examples/trader-joe-momentum.ipynb b/source/programming/more-old-strategy-examples/trader-joe-momentum.ipynb similarity index 100% rename from source/programming/strategy-examples/trader-joe-momentum.ipynb rename to source/programming/more-old-strategy-examples/trader-joe-momentum.ipynb diff --git a/source/programming/old-strategies/index.rst b/source/programming/old-strategies/index.rst index dc569d5..681d509 100644 --- a/source/programming/old-strategies/index.rst +++ b/source/programming/old-strategies/index.rst @@ -1,6 +1,13 @@ Old example strategies ====================== +.. warning:: + + All the examples here are deprecated. They are stored only for reference purposes, + Refer to `Getting started Github repository `__ to find to up-to-date examples + that run. + + This section contains old example algorithmic trading strategies. These were written for :term:`Backtrader` and :term:`QSTrader` backtesting engines. However, they have been phased oun in the favour of our internal `tradeexecutor` engine.