Skip to main content

onetick-ext-view

Onetick View is a terminal UI for browsing Onetick databases.

It is based on onetick-py library and can work in two modes: localy-installed mode and WebAPI mode. The mode depends on the set environment variables and installed onetick python api libraries. See onetick-py documentation for details: https://docs.pip.distribution.sol.onetick.com/static/installation/webapi.html.

In order to use WebAPI mode install package with webapi extra:

pip install onetick-ext-view[webapi]

Usage (WebAPI mode):

# set env variables:
OTP_HTTP_ADDRESS='https://rest.cloud.onetick.com'
OTP_ACCESS_TOKEN_URL='https://cloud-auth.parent.onetick.com/realms/OMD/protocol/openid-connect/token'
OTP_CLIENT_ID='?????????????'
OTP_CLIENT_SECRET='?????????'

onetick view                                           # (get remote databases from WebAPI server)

Usage (locally-installed mode):

# set env variables:
MAIN_ONE_TICK_DIR="/opt/one_market_data/one_tick"

onetick view                                           # (scan current working dir)
onetick view /tmp                                      # (i.e. for tests with --keep-generated=always)
onetick view --remote-ts remote.example.com:40001      # (connect to remote server)
onetick view /tmp --remote-ts remote.example.com:40001 # (both scan specific directory and connect to remote server)

Program windows:

  1. Databases window: does recursive search in subdirectories and shows available databases

    • press Q to quit
  2. Dates window: shows available dates for selected database

    • press C to show record count (may be slow - scans all DBs)
    • press Esc or Backspace to go back
    • press Q to quit
  3. Tick types window: shows available tick types for a specific day

    • press + or - to change scroll speed (1, 10, 100 lines)
    • press Esc or Backspace to go back
  4. Symbols window: shows available symbols & tick types

    • press C to show record count
    • press + or - to change scroll speed (1, 10, 100 lines)
    • press Esc or Backspace to go back
  5. Data window: shows symbol data

    • Use arrows to navigate dataframe
    • press Space to zoom in top left data cell (i.e. view long alert description string)
    • press T to transpose table
    • press + or - to change scroll speed (1, 10, 100 lines)
    • press C to dump dataframe to CSV file
    • press Esc or Backspace to go back

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onetick_ext_view-1.5.0.tar.gz (27.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onetick_ext_view-1.5.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

Details for the file onetick_ext_view-1.5.0.tar.gz.

File metadata

  • Download URL: onetick_ext_view-1.5.0.tar.gz
  • Upload date:
  • Size: 27.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for onetick_ext_view-1.5.0.tar.gz
Algorithm Hash digest
SHA256 503926bb7f767594d9cce023a55015c7e4dfad1d884df836b7e458f504e84f78
MD5 205958c4fa728522af4644a28ff014c7
BLAKE2b-256 1692d98905d4a387a00867d4124ff69f9ef6fdede25364acfa74967099aa0258

See more details on using hashes here.

File details

Details for the file onetick_ext_view-1.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for onetick_ext_view-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 11cde5f3706d2336ddc77d1e8bc4feb3ac4ed77827f7b0e38e102227ca0d99bb
MD5 ea56187ce535f76c019714fb40cf7a33
BLAKE2b-256 e1685c00733ca495e1095e351a0ef7f00b5674c6a0b12f5f60c944d739bae3fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page