How Barfinex Works
Inspector risk policies and configuration
How Inspector classifies positions, applies risk rules, and exposes current risk capabilities through Provider.
Position ownership
Inspector separates positions into two operational groups:
| Type | Meaning | Inspector behavior |
|---|---|---|
| Legacy | Position existed before the current Inspector session started | Monitoring and notifications only; Inspector does not automatically close or modify it. |
| Runtime-managed | Position opened while Inspector is active | Full risk control, including protective orders, trailing logic, and close actions through Provider. |
This prevents existing operator positions from being changed unexpectedly while still giving Inspector full control over positions it owns.
Runtime risk behavior
- Protective orders: stop-loss and take-profit placement through Provider.
- Risk checks: stop conditions, max hold time, portfolio exposure, drawdown, and liquidity.
- Trailing and breakeven: optional policy-driven adjustments for runtime-managed positions.
- Liquidity awareness: close actions can be delayed or blocked when spread or depth is outside configured limits.
For legacy positions the same risk metrics may be calculated, but the action is notification-only.
Notifications
Inspector can publish startup summaries, risk warnings, protective-order events, close results, and liquidity warnings. Configure the notification channel in the deployment. See Telegram notifications for the shared alerting model.
Configuration areas
Risk behavior is controlled by deployment configuration. Typical areas include:
- Risk management: stop loss, take profit, breakeven, daily limits, drawdown, per-trade risk, and correlated-position limits.
- Trade settings: max hold time, max position size, and trailing-stop behavior.
- Asset management: spread tolerance and minimum liquidity rules.
- Strategy logic: stress policy, consecutive-loss handling, and detector throttling signals.
Exact field names and defaults depend on the Barfinex version. Use Provider OpenAPI to inspect currently published Inspector capabilities.
Audit and analytics
- Live audit: recent risk events may be available through Provider-published Inspector capabilities.
- Analytics history: long-term reporting is deployment-owned; use Provider OpenAPI for currently published public surfaces.