Configuration#
See otp.config for details.
- OptionsTable#
- Name - Environment Variable - Description - OTP_DEFAULT_TZ- Default timezone used for running queries and creating databases, e.g. with - otp.run. Default value is the local timezone of your machine.- OTP_CONTEXT- Default context used for running queries, e.g. with - otp.run.- OTP_DEFAULT_START_TIME- Default start time used for running queries, e.g. with - otp.run.- OTP_DEFAULT_END_TIME- Default end time used for running queries, e.g. with - otp.run.- OTP_DEFAULT_DB- Default database name used for running queries, e.g. with - otp.run.- OTP_DEFAULT_SYMBOL- Default symbol name used for running queries, e.g. with - otp.run.- OTP_DEFAULT_SYMBOLOGY- Default database symbology. - OTP_DEFAULT_CONCURRENCY- Default concurrency level used for running queries, e.g. with - otp.run. Default value is the number of cores/threads on your machine.- OTP_DEFAULT_BATCH_SIZE- Default batch size used for running queries, e.g. with - otp.run. Batch size is the maximum number of symbols that are processed at once. The value of 0 means unlimited – works faster for simple queries, but may consume too much memory for complex queries.- OTP_DEFAULT_LICENSE_DIR- Default path for license directory. Needed for user to be allowed to use OneTick API. Default value is system-dependent: /license for Linux systems and C:/OMD/client_data/config/license_repository for Windows systems. - OTP_DEFAULT_LICENSE_FILE- Default path for license file. Needed for user to be allowed to use OneTick API. Default value is system-dependent: /license/license.dat for Linux systems and C:/OMD/client_data/config/license.dat for Windows systems. - OTP_DEFAULT_FAULT_TOLERANCE- Default value for USE_FT query property. - OTP_DEFAULT_AUTH_USERNAME- Default username used for authentication. - OTP_DEFAULT_PASSWORD- Default password used for authentication. - OTP_MAX_EXPECTED_TICKS_PER_SYMBOL- Expected maximum number of ticks per symbol (used for performance optimizations). - OTP_SHOW_STACK_INFO- Show stack info (filename and line or stack trace) in OneTick exceptions. - OTP_LOG_SYMBOL- Log currently executed symbol. Note, this only works with unbound symbols. Note, in this case - otp.rundoes not produce the output so it should be used only for debugging purposes.- Default symbol with database. Defined with - default_dband- default_symbolas string default_db::default_symbol.- Default date. Defined as a date part of - default_start_time.