Skip to content

Latest commit

 

History

History
120 lines (67 loc) · 3 KB

strategy.rst

File metadata and controls

120 lines (67 loc) · 3 KB

交易策略示例

策略说明 https://www.shinnytech.com/blog/aberration/

.. literalinclude:: ../../tqsdk/demo/example/aberration.py
  :language: python


.. literalinclude:: ../../tqsdk/demo/example/doublema.py
  :language: python


策略说明 https://www.shinnytech.com/blog/momentum-strategy/

.. literalinclude:: ../../tqsdk/demo/example/momentum.py
  :language: python


策略说明 https://www.shinnytech.com/blog/escalator/

.. literalinclude:: ../../tqsdk/demo/example/escalator.py
  :language: python


策略说明 https://www.shinnytech.com/blog/fairy-four-price/

.. literalinclude:: ../../tqsdk/demo/example/fairy_four_price.py
  :language: python


策略说明 https://www.shinnytech.com/blog/r-breaker/

.. literalinclude:: ../../tqsdk/demo/example/rbreaker.py
  :language: python


策略说明 https://www.shinnytech.com/blog/r-breaker/

.. literalinclude:: ../../tqsdk/demo/example/rbreaker2.py
  :language: python


策略说明 https://www.shinnytech.com/blog/dual-thrust/

.. literalinclude:: ../../tqsdk/demo/example/dualthrust.py
  :language: python


策略说明 https://www.shinnytech.com/blog/grid-trading/

.. literalinclude:: ../../tqsdk/demo/example/gridtrading.py
  :language: python


策略说明 https://www.shinnytech.com/blog/grid-trading/

.. literalinclude:: ../../tqsdk/demo/example/gridtrading_async.py
  :language: python


.. literalinclude:: ../../tqsdk/demo/example/random_forest.py
  :language: python


策略说明 https://www.shinnytech.com/blog/turtle/

.. literalinclude:: ../../tqsdk/demo/example/turtle.py
  :language: python


策略说明 https://www.shinnytech.com/blog/vwap/

.. literalinclude:: ../../tqsdk/demo/example/vwap.py
  :language: python