Analyzer Status
Endpoint URL
This API Function fetches the stock holdings details from the broker
Local Host : POST http://127.0.0.1:5000/api/v1/analyzer
Ngrok Domain : POST https://<your-ngrok-domain>.ngrok-free.app/api/v1/analyzer
Custom Domain: POST https://<your-custom-domain>/api/v1/analyzer
Sample API Request
{
"apikey": "<your_app_apikey>"
}
Sample API Response
{
"data": {
"analyze_mode": false,
"mode": "live",
"total_logs": 2
},
"status": "success"
}
Request Body
apikey
string
Yes
Your OpenAlgo API key
Response Fields
status
string
Status of the API call (success/error)
data
object
Container for response data
mode
string
Current mode in human-readable format ("analyze" or "live")
analyze_mode
boolean
Current analyzer mode flag (true = analyze, false = live)
total_logs
integer
Total number of analyzer logs stored
Notes
Live Mode: When
analyze_mode
isfalse
, all API calls execute actual broker operationsAnalyze Mode: When
analyze_mode
istrue
, all API calls return simulated responses without executing real tradesThe
total_logs
field shows the cumulative count of all analyzer mode operations logged in the systemThis endpoint is useful for checking the current mode before executing trading operations
Rate limited to 10 requests per second per API key
Last updated