Kill Switch Status
This API lets you check whether Kill Switch is active on your account.
USE CASE
Check Kill Switch status before placing orders or after activating it through the FYERS API, Web or App.
Details
- The
killswitchfield returnstruewhen Kill Switch is active andfalsewhen it is inactive. TheopenPositionsandpendingOrdersfields show the number of open positions and pending orders in your FYERS account. - Rate limits differ between the Standard and Prime plans. See Plans & rate limits.
Response Attributes
| Attribute | Data Type | Description |
|---|---|---|
killswitch | boolean | true when Kill Switch is active, false when it is not. |
openPositions | int | Number of open positions on your account. |
pendingOrders | int | Number of pending orders on your account. |
message | string | Human-readable status, for example "Kill Switch is activated." |
code | int | Response status code. 200 on success. |
s | string | Request status - "ok" on success, "error" on failure. |
Last updated on