Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Documentation for 
Bulk Order Placement
Get Access Token Method
  • Loading branch information
5paisa committed Feb 20, 2024
1 parent 6a7db35 commit edef647
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ client.get_totp_session('Your ClientCode','TOTP from authenticator app','Your Pi
client.get_oauth_session('Your Response Token')

After successful authentication, you should get a `Logged in!!` message in console

#Function to fetch access token after successful login
print(client.get_access_token())
```

#### Market Feed
Expand Down Expand Up @@ -401,6 +404,19 @@ client.vtt_order('C',
client.vtt_order('G')
```

#### Bulk Order Placement

```py

bulk_order=[{
"Exchange":"N", "ExchangeType":"C", "ScripCode":0, "ScripData":"ITC_EQ", "Price": "440", "OrderType": "Buy", "Qty": 1, "DisQty": "0", "StopLossPrice": "0", "IsIntraday": True, "iOrderValidity": "0", "RemoteOrderID":"50000091_220620"
},{
"Exchange":"N", "ExchangeType":"C", "ScripCode":0, "ScripData":"IDEA_EQ", "Price": "15", "OrderType": "Buy", "Qty": 1, "DisQty": "0", "StopLossPrice": "0", "IsIntraday": True, "iOrderValidity": "0", "RemoteOrderID":"50000091_220620"
}
]
client.place_order_bulk(OrderList=bulk_order)
```

#### Strategy Execution
#### List Of Strategies Available
- Short Straddle
Expand Down

0 comments on commit edef647

Please sign in to comment.