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)
Global settings:
- press H to show/hide key bindings of the current window
- press Z to select timezone
- press D to toggle dark mode
- press Q to quit
Program windows:
All windows:
- press Esc or Backspace to go back
- press Shift+Up/Down for faster vertical scroll
- press Alt+Shift+Up/Down for fastest vertical scroll
- use Alt+Wheel for fast vertical mouse scroll
-
Databases window: does recursive search in subdirectories and shows available databases
- press F to filter databases
-
Dates window: shows available dates for selected database
- press F to filter dates
-
Tick types window: shows available tick types for a specific day
- press F to filter tick types
-
Symbols window: shows available symbols for selected tick type
- press F to filter symbols
- press C to show/hide record count
-
Data window: shows symbol data (more ticks are loaded automatically while scrolling)
- press Shift+Left/Right for faster horizontal scroll
- press Alt+Shift+Left/Right for fastest horizontal scroll
- use Ctrl+Alt+Wheel for fast horizontal mouse scroll
- press F to filter ticks: where clause, start/end time, discard on match
- press T to transpose table
- press C to dump loaded ticks to CSV file
Metadata
Release files for onetick-ext-view 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| onetick_ext_view-2.0.0.tar.gz | 29.7 kB | Without provenance | Details for onetick_ext_view-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| onetick_ext_view-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for onetick_ext_view-2.0.0-py3-none-any.whl |
Total release size: 59.7 kB
Release files / onetick_ext_view-2.0.0.tar.gz
| Download URL | onetick_ext_view-2.0.0.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab55ae8acf90d8fba738d494b95fd2566c00799048e9c30cc486214978094941
|
|
BLAKE2b-256 checksum How to use checksums |
76c5333850db49635a13d570d2da0b1af66ee5e91a85436a4c9f0d5c5066cf1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Release files / onetick_ext_view-2.0.0-py3-none-any.whl
| Download URL | onetick_ext_view-2.0.0-py3-none-any.whl |
|---|---|
| Size | 30.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
583459dd385815832ece32c40fa2ab1e8df6e1e74a0ae7fcabacaeabb06078ef
|
|
BLAKE2b-256 checksum How to use checksums |
a35d0ec397e8cf5a4c93e1deefdd816511d2441621328d9867ea90d836a58603
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|
Security for onetick-ext-view 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.