Skip to main content

nubra_oi_walls

nubra_oi_walls packages the options wall proximity scanner as a reusable Python library on top of the official Nubra Python SDK.

Install

pip install nubra_oi_walls

Usage

from nubra_python_sdk.marketdata.market_data import MarketData
from nubra_python_sdk.start_sdk import InitNubraSdk, NubraEnv
from nubra_oi_walls import run_multi_wall_proximity_scan, run_wall_proximity_scan

nubra = InitNubraSdk(NubraEnv.UAT)
market_data = MarketData(nubra)

summary_df = run_wall_proximity_scan(
    market_data=market_data,
    stocks=["NIFTY", "BANKNIFTY", "RELIANCE", "HDFCBANK"],
    normalize=False,
    exchange="NSE",
)

print(summary_df)

For multi-wall output when top_n > 1:

multi_df = run_multi_wall_proximity_scan(
    market_data=market_data,
    stocks=["NIFTY", "BANKNIFTY", "RELIANCE", "HDFCBANK"],
    normalize=False,
    top_n=3,
    exchange="NSE",
)

print(multi_df)

There is also a ready-to-run example in quickstart.py. That quickstart runs both DataFrame-returning functions.

Authentication and environment

The preferred integration is to pass your existing MarketData object from your main Nubra session into the scan functions.

The scanner defaults to the Nubra UAT environment only when it has to create its own internal client. To switch that fallback behavior to live usage, set:

$env:NUBRA_OI_WALLS_ENV = "PROD"

If you pass market_data, the package will reuse your existing Nubra session instead of creating a new one.

Import shape

from nubra_oi_walls import run_wall_proximity_scan, run_multi_wall_proximity_scan

Returned data

run_wall_proximity_scan(...) returns the classic single-wall summary as a pandas DataFrame.

run_multi_wall_proximity_scan(...) returns the expanded wall candidates as a pandas DataFrame.

Metadata

Release files for nubra-oi-walls 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nubra-oi-walls 0.1.1
File Size Uploaded Provenance Actions
nubra_oi_walls-0.1.1.tar.gz 8.6 kB Without provenance Details for nubra_oi_walls-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nubra-oi-walls 0.1.1
File Interpreter ABI Platform Actions
nubra_oi_walls-0.1.1-py3-none-any.whl Python 3 none any Details for nubra_oi_walls-0.1.1-py3-none-any.whl

Total release size: 17.4 kB

Release files / nubra_oi_walls-0.1.1.tar.gz

Download URL nubra_oi_walls-0.1.1.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4b7fcf6bb99080a86a2925c9eb4c3922c26b3f7c18a27020da053319e59add3f
BLAKE2b-256 checksum
How to use checksums
d56b2e6aae81fe3fbb6c0390031ef128a5c215490441198822de3be432a12fa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Release files / nubra_oi_walls-0.1.1-py3-none-any.whl

Download URL nubra_oi_walls-0.1.1-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd99e8858a2fcfd9f0c5448c2c7a7a2bed2389e071e2d022c43e4503a1ec3672
BLAKE2b-256 checksum
How to use checksums
38e9a20fef62090f07e83a7dc9c6a6bcb868ac87a5e83e5e0617bc5e5e2c4f54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.0

Security for nubra-oi-walls 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page