nubra-volume-breakout
nubra-volume-breakout is a Python library for scanning stocks based on volume breakout using the Nubra Python SDK.
It fetches historical OHLCV data using MarketData.historical_data(...), derives candle volume for intraday intervals, calculates the average lookback volume, computes:
volume_ratio = current_volume / average_volume
and returns a ranked pandas DataFrame.
Installation
pip install nubra-volume-breakout==0.1.1
Quickstart
from nubra_python_sdk.marketdata.market_data import MarketData
from nubra_python_sdk.start_sdk import InitNubraSdk, NubraEnv
from nubra_volume_breakout import run_volume_breakout
nubra = InitNubraSdk(NubraEnv.PROD, env_creds=True)
market_data = MarketData(nubra)
stocks = ["ABB", "ADANIENSOL", "ADANIENT", "ADANIGREEN", "ADANIPORTS"]
volume_breakout = run_volume_breakout(
market_data=market_data,
stocks=stocks,
lookback_days=10,
interval="1d",
rank=10,
)
print(volume_breakout.head())
Returned DataFrame
The scanner returns only these columns:
symbolcandle_timecurrent_volumeaverage_volumevolume_ratio
Metadata
Release files for nubra-volume-breakout 0.1.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 |
|---|---|---|---|---|
| nubra_volume_breakout-0.1.1.tar.gz | 9.6 kB | Without provenance | Details for nubra_volume_breakout-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nubra_volume_breakout-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for nubra_volume_breakout-0.1.1-py3-none-any.whl |
Total release size: 19.0 kB
Release files / nubra_volume_breakout-0.1.1.tar.gz
| Download URL | nubra_volume_breakout-0.1.1.tar.gz |
|---|---|
| Size | 9.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2b992e4decca46f4c8165ec18e55e2aa73a8268bceb11d3da25e2fcfd67f576
|
|
BLAKE2b-256 checksum How to use checksums |
fbb0179dd44c65923866b379fd86788cf5efc336a023cee51cc557df61055cce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / nubra_volume_breakout-0.1.1-py3-none-any.whl
| Download URL | nubra_volume_breakout-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
760e0fd5d594743ec5824b0f926fb87f5dc04ae2c52157af020b82b85e2cd826
|
|
BLAKE2b-256 checksum How to use checksums |
67f92d28f502544b7762ea64569001e35705b4925d47391ea56046fa945a4c09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Security for nubra-volume-breakout 0.1.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.