ibkr-agent-gateway 0.5.2

Unofficial local-first CLI and MCP gateway for Interactive Brokers workflows.
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Optional MCP session keepalive loop helpers.

use crate::internal::backend::IbkrBackend;
use crate::internal::domain::{BrokerSessionStatus, GatewayError};

/// Runs one keepalive tick.
pub async fn keepalive_once(
    backend: &dyn IbkrBackend,
) -> Result<BrokerSessionStatus, GatewayError> {
    backend.keepalive().await
}