ig_trading_api 0.3.0

A Rust client for the REST and Streaming APIs from IG.com.
Documentation
# IG Trading API - Environment Variables
# Copy this file to .env and fill in your actual values
# NEVER commit your .env file to version control!

# IG API Credentials
IG_API_KEY=your_api_key_here
IG_USERNAME=your_username_here
IG_PASSWORD=your_password_here

# Account Numbers
IG_ACCOUNT_NUMBER_DEMO=XXXXX
IG_ACCOUNT_NUMBER_LIVE=XXXXX
# Optional: Alternative account number for testing (same environment as main account)
# IG_ACCOUNT_NUMBER_TEST=XXXXX

# API URLs
IG_BASE_URL_DEMO=https://demo-api.ig.com/gateway/deal
IG_BASE_URL_LIVE=https://api.ig.com/gateway/deal

# Execution Environment (DEMO or LIVE)
IG_EXECUTION_ENVIRONMENT=DEMO