Configuration#
There are numerous variables you can use to change the onetick.py behavior.
Some of them are optional and have a working defaults, but some of them need to be set manually.
These configuration options can be set:
via environment variables before the start of the python process
using
otp.configproperties after importingonetick.pymodule
The full list of onetick.py configuration options can be found here: otp.config
name  | 
default  | 
description  | 
|---|---|---|
  | 
Local timezone of your machine  | 
Default timezone that’s used for every query run,
for example   | 
  | 
Default start time that’s used for every query run,
for example   | 
|
  | 
Default end time that’s used for every query run,
for example   | 
|
  | 
  | 
Default context that’s used for every query run,
for example   | 
  | 
Machine’s number of cores or other system-dependent value.  | 
Default maximum number of cpu cores that’s used for every query run,
for example   | 
  | 
  | 
Default maximum number of symbols to process at once,
for example   | 
  | 
Default database from the current context
that’s used as a placeholder for a query run.
Could be set in code using the   | 
|
  | 
Default symbol in the database
that’s used as a placeholder for a query run.
Could be set in code using the   | 
|
  | 
Folder where are saved intermediate queries and resources that could appear during a query run.  | 
|
  | 
Default license directory’s path that’s used for every query run. If not set the default OneTick license directory for the system is used.  | 
|
  | 
Default license file’s path that’s used for every query run. If not set the default OneTick license file for the system is used.  | 
|
  | 
  | 
Default value for   |