Trading
This section documents all Datafye CLI commands for managing Trading Environment deployments (paper and live trading).
Command Organization
Trading commands are organized by deployment environment:
Local Deployments - Commands for standalone deployments on your local machine (paper trading only)
AWS Deployments - Commands for distributed self-managed deployments in AWS (paper trading only)
Live Trading: Local and self-managed AWS deployments only support paper trading (mode: paper). For live trading (mode: live), you must use a Datafye Managed deployment provisioned by Datafye Ops. Contact Datafye to request a managed deployment for live trading.
Command Syntax
All Trading commands follow this pattern:
datafye trading <environment> <command> [options]Where:
<environment>islocaloraws<command>isprovision,start,stop, ordeprovision
Trading Scenarios
Trading deployments support two scenarios:
Data Cloud + Broker
Provisions Data Cloud and Broker Connector
You bring your own algo containers
Access market data and execute trades via REST/WebSocket APIs
Full Stack
Provisions Data Cloud, Algo Container runtime, Broker Connector, and MCP Server
Complete managed environment for algo trading
SDK-based algo development with AI assistance
Paper vs Live Trading
Paper Trading
Simulated execution with no real capital
Real market data for realistic simulation
Available on local and self-managed AWS deployments
Risk-free validation of strategy behavior
Live Trading
Real execution with actual brokerage accounts
Real capital at risk
Only available on Datafye Managed deployments (provisioned by Datafye Ops)
Requires funded broker account and thorough validation
Related Documentation
The Datafye CLI - Conceptual overview of CLI usage
Installation - Install and configure the CLI
Deployment Descriptors - Configure your deployments
The Broker Connector - Understand trade execution
Last updated: 2025-10-22
Last updated

