
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Để đảm bảo bạn có thể dễ dàng copy toàn bộ nội dung Markdown vào file của bạn, tôi sẽ loại bỏ các khối mã thụt đầu dòng và cung cấp nội dung dạng text gọn gàng hơn:
CKVN is a Python module that allows you to interact with stock market data through a Django-based API. It provides various functions to retrieve stock information, historical data, and more by making API calls.
You can install the ckvn
module directly from PyPI using pip:
pip install ckvn
You can retrieve information about a stock by symbol using the get_stock_info()
function:
import ckvn
symbol = 'AAPL' # Example stock symbol
api_key = 'your_api_key'
stock_info = ckvn.get_stock_info(symbol, api_key)
print(stock_info)
To retrieve historical stock data (OHLCV) for a given stock symbol within a date range:
import ckvn
from datetime import datetime
symbol = 'AAPL'
api_key = 'your_api_key'
from_date = datetime(2020, 1, 1)
to_date = datetime(2021, 1, 1)
stock_data = ckvn.get_stock_data(symbol, from_date, to_date, api_key)
print(stock_data)
You can fetch all stocks associated with a particular market:
import ckvn
market = 'HOSE' # Example market
api_key = 'your_api_key'
stocks = ckvn.get_stocks_by_market(market, api_key)
print(stocks)
To retrieve information about your API key, such as expiration date, status, and other details, you can use the get_key_info()
function:
import ckvn
api_key = 'your_api_key'
key_info = ckvn.get_key_info(api_key)
print(key_info)
Each request made to the API requires an API key for authentication. Make sure to pass a valid API key when calling any of the functions above.
We welcome contributions to this project! If you'd like to help, please fork the repository, make your changes, and submit a pull request. Be sure to follow the code of conduct and review the guidelines before contributing.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions or suggestions, feel free to reach out to us at [ckvnpro@gmail.com](mailto:ckvnpro@gmail.com).
FAQs
Python module to interact with stock data via Django API
We found that ckvn 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.