Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
.. image:: https://img.shields.io/pypi/v/lakeapi.svg :target: https://pypi.python.org/pypi/lakeapi :alt: Pypi package status
.. image:: https://readthedocs.org/projects/lake-api/badge/?version=latest :target: https://lake-api.readthedocs.io/en/latest/?version=latest :alt: Documentation status
.. image:: https://github.com/crypto-lake/lake-api/actions/workflows/dev.yml/badge.svg :target: https://github.com/crypto-lake/lake-api/actions/workflows/dev.yml :alt: Build status
API for accessing Lake crypto market data.
Lake is a service providing historical cryptocurrency market data <https://crypto-lake.com/>
_ in high detail, including order book data <https://crypto-lake.com/order-book-data/>
_, tick trades and 1m trade candles. It is tuned for convenient quant and machine-learning purposes and so offers high performance, caching and parallelization.
If you don't have a paid plan with AWS credentials, you can access sample data:
.. code-block:: python
import lakeapi
lakeapi.use_sample_data(anonymous_access = True)
df = lakeapi.load_data(
table="book",
start=None,
end=None,
symbols=["BTC-USDT"],
exchanges=["BINANCE"],
)
With paid access, you can query any data:
.. code-block:: python
import lakeapi
# Downloads SOL-USDT depth snapshots for last 2 days from Kucoin exchange
df = lakeapi.load_data(
table="trades",
start=datetime.datetime.now() - datetime.timedelta(days=2),
end=None,
symbols=["SOL-USDT"],
exchanges=["KUCOIN"],
)
We recommend putting .lake_cache directory into .gitignore, because Lake API stores cache into this directory in the working directory.
lakeapi.set_cache_size_limit()
TypeError: _path2list() got an unexpected keyword argument 'boto3_session'
FAQs
API for accessing Lake crypto market data
We found that lakeapi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.