Version: 1.1
Last Updated: February 6, 2026
Status: RECOMMENDED - Optimal for production stability
When running NIJA with only user accounts (no Platform account), you may see:
Configure Platform Kraken credentials for optimal operation.
This configuration change will:
NIJA uses an independent trading model where all accounts trade separately:
🔷 PLATFORM ACCOUNT (Independent Trader #1)
↓ Uses NIJA signals + execution logic
↓ Trades with its own capital
👤 USER ACCOUNT 1 (Independent Trader #2)
↓ Uses same NIJA signals + execution logic
↓ Trades with their own capital
👤 USER ACCOUNT 2 (Independent Trader #3)
↓ Uses same NIJA signals + execution logic
↓ Trades with their own capital
Key Points:
.env file):# Platform Kraken credentials (REQUIRED for stable operation)
KRAKEN_PLATFORM_API_KEY=your-api-key-here
KRAKEN_PLATFORM_API_SECRET=your-api-secret-here
Add these environment variables:
KRAKEN_PLATFORM_API_KEY = your API keyKRAKEN_PLATFORM_API_SECRET = your API secretKRAKEN_PLATFORM_API_KEY with your API keyKRAKEN_PLATFORM_API_SECRET with your API secretAfter setting credentials, restart the bot and check logs:
Quick Check (Recommended):
# Run the credential validation script
python3 check_platform_credentials.py
This script will:
Manual Check in Logs:
✅ Success indicators:
✅ Kraken Platform credentials detected
🔷 PLATFORM ACCOUNTS (Primary Trading Accounts):
• KRAKEN: ✅ CONNECTED
✅ ACCOUNT HIERARCHY STATUS:
✅ All user accounts have corresponding Platform accounts (correct hierarchy)
❌ Still seeing warnings?
⚠️ Kraken Platform credentials NOT SET
⚠️ ACCOUNT PRIORITY WARNINGS:
⚠️ User accounts trading WITHOUT Platform account on: KRAKEN
If you see warnings, verify:
1. Platform trades independently - Additional trading capacity
2. Cleaner system operation
3. All accounts are equal
| Account Purpose | Minimum Balance | Notes |
|---|---|---|
| Platform account | $50+ | Trades independently like any user account |
| User accounts | $50+ | Each user trades independently |
Note: Platform account CAN have $0 balance (it just won’t trade), but recommended to fund it so it trades alongside users.
All accounts trade independently:
PLATFORM_ACCOUNT_TIER=BALLER in .env for best risk parametersA: No, but it’s recommended. Without Platform account:
For production use, Platform account is required.
A: No. User accounts continue to trade independently. Platform account connection only affects:
A: Configure that one account as the Platform account:
KRAKEN_PLATFORM_API_KEY and KRAKEN_PLATFORM_API_SECRETA: Yes. For example:
Each exchange can have its own Platform account if needed.
A: You only need Platform account for exchanges where you have user accounts. For example:
Scenario A: Only user accounts on Kraken
KRAKEN_PLATFORM_API_KEY/SECRET (required)Scenario B: User accounts on Kraken AND Alpaca
KRAKEN_PLATFORM_API_KEY/SECRET (required)ALPACA_API_KEY/SECRET (Platform account, required)A: Check logs for specific errors:
System will continue attempting connection and display warnings until Platform account connects successfully.
Solution:
# Local development
cat .env | grep KRAKEN_PLATFORM
# Production (Railway)
# Check Variables tab in Railway dashboard
Solution: This happens when credentials contain only whitespace:
Solution: Check if Platform account is actually connected:
🔷 PLATFORM ACCOUNTS (Primary Trading Accounts):
• KRAKEN: ❌ NOT CONNECTED ← Should be ✅ CONNECTED
If showing “NOT CONNECTED”, check:
The ONE fix for hierarchy warnings:
KRAKEN_PLATFORM_API_KEY and KRAKEN_PLATFORM_API_SECRETResult:
Platform account does not need capital - it just needs to exist and connect.