Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
An Unofficial Python Api for BSE India stock exchange.
Python version: >= 3.8
pip install -U bse
https://bennythadikaran.github.io/BseIndiaApi/
You might like stock-news built using BseIndiaApi
. It helps to keep track of corporate announcements and actions on your portfolio.
Using with statement
from bse import BSE
with BSE(download_folder='./') as bse:
scripCode = bse.getScripCode('tcs') # 532540 bse scrip code
data = bse.actions(scripcode=scripCode)
ohlc = bse.quote(scripCode) # Open, High, Low, LTP
or
from bse import BSE
from bse.constants import INDEX
bse = BSE(download_folder='./')
code = bse.getScripCode('tcs') # 532540 bse scrip code
gainers = bse.gainers(by='index', name=INDEX.BSE500)
bse.exit() # close the request session
src/samples
contain the sample responses from the various methods in JSON format.
The files are named after the corresponding method in src/BSE.py
. Use it to understand the API response structure.
src/examples
contains scripts that use the BSE.py
.
To use the scripts download or clone the repo.
BSE.announcements
. It has step by step explanation of code.py actions.py infy
to print the recent corporate actions. Nothing more.py advances.py
to print the advance decline ratios for various bse Indexes.You may also like my other repo: Stock-News - It uses BseIndiaApi and displays stock announcements, dividend, bonus/splits and upcoming results etc for your portfolio or watchlist stocks.
FAQs
Unofficial Python Api for BSE India stock exchange
We found that bse 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.