Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

bt_api_groww

Groww broker plugin package for bt_api.

Install

pip install -e .

Plugin Entry Point

The package exposes the old plugin mode entry point in pyproject.toml:

[project.entry-points."bt_api.plugins"]
groww = "bt_api_groww.plugin:register_plugin"

Usage

frombt_api_groww.gateway.adapterimportGrowwGatewayAdapteradapter=GrowwGatewayAdapter(access_token="demo-token", account_id="groww-paper")
adapter.connect()
balance=adapter.get_balance()
positions=adapter.get_positions()

Testing

python -m pytest tests/test_auth.py tests/test_mapping.py tests/test_transport.py tests/test_exchange_data.py tests/test_runtime_feed.py tests/test_plugin.py tests/test_contract.py tests/test_bt_api_integration.py -q

About

Groww broker plugin for bt_api using old plugin mode

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages