8000 qlib/docs/component/online.rst at main · jrehm135/qlib · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.73 KB

online.rst

File metadata and controls

48 lines (32 loc) · 1.73 KB

Online Serving

.. currentmodule:: qlib


Introduction

../_static/img/online_serving.png

In addition to backtesting, one way to test a model is effective is to make predictions in real market conditions or even do real trading based on those predictions. Online Serving is a set of modules for online models using the latest data, which including Online Manager, Online Strategy, Online Tool, Updater.

Here are several examples for reference, which demonstrate different features of Online Serving. If you have many models or task needs to be managed, please consider Task Management. The examples are based on some components in Task Management such as TrainerRM or Collector.

NOTE: User should keep his data source updated to support online serving. For example, Qlib provides a batch of scripts to help users update Yahoo daily data.

Online Manager

.. automodule:: qlib.workflow.online.manager
    :members:

Online Strategy

.. automodule:: qlib.workflow.online.strategy
    :members:

Online Tool

.. automodule:: qlib.workflow.online.utils
    :members:

Updater

.. automodule:: qlib.workflow.online.update
    :members:
0