kraky 0.1.2

Lightweight, production-ready Rust SDK for Kraken Exchange WebSocket API v2 with unique orderbook imbalance detection and WebSocket trading
Documentation
# Kraky SDK - Environment Variables Template
#
# Copy this file to .env and fill in your actual credentials
# Run: cp .env.example .env
#
# IMPORTANT: Never commit your .env file to git!
# The .gitignore file is configured to exclude .env files.

# ═══════════════════════════════════════════════════════════════
# Telegram Configuration (Optional)
# ═══════════════════════════════════════════════════════════════
#
# Required for examples that send Telegram notifications:
# - simple_price_alerts
# - whale_watcher
# - telegram_imbalance_bot
# - telegram_private_alerts
# - telegram_trading_bot
# - telegram_trading_demo
# - liquidity_monitor (optional)
#
# How to get these:
# 1. Create a bot: Talk to @BotFather on Telegram
# 2. Get chat ID: Talk to @userinfobot on Telegram

TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_CHAT_ID=your_chat_id_here

# ═══════════════════════════════════════════════════════════════
# Kraken API Credentials (Optional)
# ═══════════════════════════════════════════════════════════════
#
# Required for examples that use private channels or trading:
# - auth_example
# - telegram_trading_bot
# - telegram_private_alerts
#
# How to get these:
# 1. Log in to your Kraken account
# 2. Go to Settings → API
# 3. Create a new API key with appropriate permissions:
#    - For market data only: No special permissions needed
#    - For account info: "Query Funds", "Query Open Orders"
#    - For trading: "Create & Modify Orders", "Cancel/Close Orders"
# 4. Save the API Key and Secret (Secret is only shown once!)
#
# SECURITY WARNING:
# - Never share your API credentials
# - Never commit them to git
# - Use API key permissions wisely (only enable what you need)
# - Consider using a separate API key for testing

KRAKEN_API_KEY=your_api_key_here
KRAKEN_API_SECRET=your_base64_encoded_secret_here

# ═══════════════════════════════════════════════════════════════
# Notes
# ═══════════════════════════════════════════════════════════════
#
# Most examples work WITHOUT any credentials:
# - orderbook.rs
# - trades.rs
# - ticker.rs
# - ohlc.rs
# - multi_subscribe.rs
# - demo.rs
# - benchmark.rs
# - multi_pair_monitor.rs
# - export_to_csv.rs
# - export_multi_csv.rs
#
# Only Telegram and trading examples require credentials.