*** IMPORTANT NOTICE ***This package is not in a usable stage. It is only uploaded for convenience of developing and testing. |
Postgreslq Initialization
CREATE DATABASE trade_data;
CREATE USER tradedbadmin WITH PASSWORD 'trade_password';
GRANT ALL PRIVILEGES ON DATABASE trade_data TO tradedbadmin;
\connect trade_data;
GRANT ALL ON SCHEMA public TO tradedbadmin;
Add the following lines in the pg_hba.conf file to allow password authentication for the tradedbadmin role.
# trade database
host all tradedbadmin 0.0.0.0/0 scram-sha-256
host all tradedbadmin ::/0 scram-sha-256
MetaData Initialization
Allowed instruments types are given in "Instrument Types" section of meta_enumerations.md.
Data Initialization for Instrument Type(s)
from trade_database_manager.manager import MetadataSql
metadatalib = MetadataSql()
metadatalib.initialize(for_inst_types="CB")
This will try to create two tables, instruments and instruments_cb in the database if not yet exists. The instruments table will store the common information of all instruments, and the instruments_cb table will store the type-specific information of the instruments of type CB.
The table fields are listed in the data_organization.md file.
Metadata
Release files for trade-database-manager 0.3.1
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 |
|---|---|---|---|---|
| trade_database_manager-0.3.1.tar.gz | 78.6 kB | Without provenance | Details for trade_database_manager-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trade_database_manager-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for trade_database_manager-0.3.1-py3-none-any.whl |
Total release size: 131.7 kB
Release files / trade_database_manager-0.3.1.tar.gz
| Download URL | trade_database_manager-0.3.1.tar.gz |
|---|---|
| Size | 78.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
250ed227778db9b2e6c509e52788ab16323bd90b8ac4308845e18b742cf07081
|
|
BLAKE2b-256 checksum How to use checksums |
60629c1ae61e2bdd3ab7ace2f316a1f11148a1d166d46b8d707016d05f0854f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Release files / trade_database_manager-0.3.1-py3-none-any.whl
| Download URL | trade_database_manager-0.3.1-py3-none-any.whl |
|---|---|
| Size | 53.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e372ce0714ddaab18ebdeba51b214f33c24e3e6b8540656c50da940f271efe7
|
|
BLAKE2b-256 checksum How to use checksums |
ec33a28086429431482819c7646f245df4a6206d312dd3ca9ed823c8ce8f75cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Security for trade-database-manager 0.3.1
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.