Getting Started Guides#

The guides in this section take you through the typical uses of onetick-py and are structured in the order that facilitates learning onetick-py from scratch.

Note that for readability reasons the code for configurating onetick-py was omitted in the tests.

This code can be used to set the configuration on Linux:

export OTP_DEFAULT_DB="DEMO_L1"
export OTP_DEFAULT_SYMBOL="AAPL"
export OTP_DEFAULT_START_TIME="2003/12/01 00:00:00"
export OTP_DEFAULT_END_TIME="2003/12/04 00:00:00"
export OTP_DEFAULT_TZ="EST5EDT"

On Windows:

set OTP_DEFAULT_DB=DEMO_L1
set OTP_DEFAULT_SYMBOL=AAPL
set OTP_DEFAULT_START_TIME=2003/12/01 00:00:00
set OTP_DEFAULT_END_TIME=2003/12/04 00:00:00
set OTP_DEFAULT_TZ=EST5EDT

See details about configuration in Configuration.