No project description provided
Project description
vdatafeed
vDatafeed: A Python wrapper for Viet Nam Datafeed API
Installation
pip install vdatafeed
Usage
from vdatafeed import Datafeed, Config
datafeed = Datafeed(
datafeed='ssi',
config=Config(
ssi_datafeed_id="<SSI_DATAFEED_ID>",
ssi_datafeed_secret="<SSI_DATAFEED_SECRET>"
)
)
# Get list of instruments
datafeed.api.get_instruments()
# Get instrument details
datafeed.api.get_instrument_details("SSI")
# Get list of indices
datafeed.api.get_indices()
# Get list of instruments in an index
datafeed.api.get_indices_instruments("VN30")
# Get daily instruments info
datafeed.api.get_daily_instruments_info(instrument="SSI", from_date="01/09/2024", to_date="10/09/2024") # noqa # pylint: disable=all
# Get daily all instruments info
datafeed.api.get_daily_instruments_info(from_date="10/09/2024", to_date="10/09/2024")
# Get daily indices info
datafeed.api.get_daily_indices_info(index="VN30", from_date="01/09/2024", to_date="10/09/2024") # noqa # pylint: disable=all
# Get end of day OHLCV
datafeed.api.get_endofday_ohlcv(instrument="SSI", from_date="01/09/2024", to_date="10/09/2024") # noqa # pylint: disable=all
# Get intraday OHLCV
datafeed.api.get_intraday_ohlcv(instrument="SSI", from_date="01/09/2024", to_date="10/09/2024") # noqa # pylint: disable=all
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vdatafeed-0.1.1.tar.gz
(10.5 kB
view details)
Built Distribution
vdatafeed-0.1.1-py3-none-any.whl
(14.8 kB
view details)
File details
Details for the file vdatafeed-0.1.1.tar.gz
.
File metadata
- Download URL: vdatafeed-0.1.1.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad8ea5634585b9f487b755c4f22e2c1aa509a55a348106a41d6923c903a41d86 |
|
MD5 | 15668ad24d75b6d91e1725529257886e |
|
BLAKE2b-256 | bf46e9eca93e2ad6725d2320c5c981064c538b425bc6db6ba2162559427370f7 |
File details
Details for the file vdatafeed-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: vdatafeed-0.1.1-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.12.5 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 106dff17b3319c071d9c69ee607b038c79d92172b15f5904bf1f62bf6c7fde15 |
|
MD5 | 2df478440090da8e3afaf5ab1f212b86 |
|
BLAKE2b-256 | 5208788e87cdb61643dd133d12314268a1ccc576ee3b0443cdeb0b8aa4916fd7 |