Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 707 Bytes

File metadata and controls

36 lines (31 loc) · 707 Bytes

Installation

pip install -r requirements.txt

Usage

## Installation
```bash
pip install -r requirements.txt

Usage

from Broker.kotak_neo import KotakNeo

# Initialize with config file path
config_path = "path/to/config.json"

fyers = fyers_util(config_path=config_path)
kotak_neo = KotakNeo(config_path=config_path)

Configuration

You can store your credentials in a config.json file. Use config.json.example as a template.

{
    "kotak": {
        "consumer_key": "YOUR_CONSUMER_KEY",
        "mobile_number": "YOUR_MOBILE_NUMBER",
        "ucc": "YOUR_UCC",
        "mpin": "YOUR_MPIN",
        "totp_secret": "YOUR_TOTP_SECRET"
    }
}