GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — nubra-python-sdk/snippets at main · NubraAPI/nubra-python-sdk

Expand file tree

/

snippets

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

snippets

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
authentication
authentication
 
 
get_instruments
get_instruments
 
 
introduction
introduction
 
 
market_data
market_data
 
 
portfolio
portfolio
 
 
realtime_data
realtime_data
 
 
release_notes
release_notes
 
 
trading
trading
 
 
README.md
README.md
 
 

README.md

Outline

Snippets

Short code or text fragments, each usable on its own. For full runnable scripts see ../examples; for response shapes and call signatures see ../schemas.

Authentication

  • authentication/basic_usage_02.md: nubra.logout().
  • authentication/using_env_variables.md: .env for OTP login.
  • authentication/institutional_login_env.md: .env for institutional login.

Instruments

  • get_instruments/instruments_master.md: load the instruments dataframe for NSE, BSE or MCX.

Introduction and release notes

  • introduction/before_you_install.md: check the Python version (python --version).
  • introduction/before_you_install_02.md: check the Python version (python3 --version).
  • introduction/installation.md: python -m pip install nubra-sdk.
  • introduction/installation_02.md: python3 -m pip install nubra-sdk.
  • introduction/installation_03.md: python -m pip install --upgrade nubra-sdk.
  • release_notes/how_to_update.md: pip install --upgrade nubra-sdk.

Market data

  • market_data/current_price/accessing_response_fields.md: read current_price fields.
  • market_data/market_quotes/accessing_response_fields.md: read order book fields from quote.
  • market_data/option_chain/accessing_response_fields.md: read the chain, ATM strike and ATM call/put.
  • market_data/historical_market_data/accessing_response_fields.md: loop over historical series.
  • market_data/company_fundamentals/accessing_key_ratios.md: key ratios and shareholding keys.
  • market_data/company_fundamentals/accessing_financial_statements.md: cash flow, balance sheet and profit and loss.
  • market_data/company_fundamentals/accessing_shareholding_pattern.md: shareholding pattern by date.
  • market_data/company_fundamentals/accessing_corporate_actions.md: corporate actions list.

Portfolio

  • portfolio/funds/accessing_data.md: read portFundsAndMargin fields.
  • portfolio/holdings/accessing_data.md: read holdings and holdingStats.
  • portfolio/positions/accessing_data.md: read positions and positionStats.

Realtime data

  • realtime_data/realtime_data/callback_model.md: NubraDataSocket with all callbacks.
  • realtime_data/realtime_data/common_subscription_pattern.md: subscribe calls for each stream.
  • realtime_data/realtime_data/unsubscribe_and_close.md: connect, subscribe, unsubscribe, close.
  • realtime_data/ohlcv_data/supported_intervals.md: OHLCV intervals.
  • realtime_data/subscription_limits/weight_table.md: weight per stream; session limit 50,000.
  • realtime_data/subscription_limits/quick_examples.md: a mix that totals 9,000 of 50,000.
  • realtime_data/subscription_limits/quick_examples_02.md: 1,000 option chains = 20,000.
  • realtime_data/subscription_limits/quick_examples_03.md: 2,600 option chains = 52,000, over the limit.

Trading

  • trading/limit_order.py: Minimal limit order using trader.create_order.
  • trading/get_order/accessing_data.md: read trader.orders() by bucket.
  • trading/get_order/accessing_data_02.md: read trader.get_order(...) fields.
  • trading/get_order/example_order_lifecycle.md: get, modify and cancel an order by intentOrderId.
  • trading/realtime_order_updates/v3_callbacks.md: order and trade update callbacks.
  • trading/realtime_order_updates/running_in_a_background_thread.md: run the order-update socket in a thread.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.