Trader Control
dhanhq._trader_control
Classes
TraderControl
TraderControl(dhan_context)
Functions
kill_switch
kill_switch(action)
Control kill switch for user, which will disable trading for current trading day.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
action |
str
|
'activate' or 'deactivate' to control the kill switch. |
required |
Returns:
Name | Type | Description |
---|---|---|
dict |
Status of Kill Switch for account. |