Nija

NIJA All Accounts Profit-Taking Guide

Ensuring Profit-Taking Works on EVERY Account Type

Version: 1.0 Date: January 22, 2026 Status: βœ… COMPREHENSIVE


🎯 Overview

NIJA GUARANTEES profit-taking works on ALL account types, in BOTH directions (long AND short), across ALL supported brokerages and tiers.

Supported Account Types

  1. Individual Accounts - Single standalone trading accounts
  2. Platform Accounts - Accounts used for platform operations
  3. User Accounts - User-controlled accounts trading independently
  4. Multi-Account Setups - Multiple accounts trading independently

πŸ“Š Account Type Breakdown

1. Individual Accounts

Description: Single standalone accounts trading independently.

Characteristics:

Profit-Taking:

Configuration:

# .env file
TRADING_MODE=individual  # Default mode
COINBASE_API_KEY=your_key
COINBASE_API_SECRET=your_secret
# or
KRAKEN_PLATFORM_API_KEY=your_key
KRAKEN_PLATFORM_API_SECRET=your_secret

Example:

Individual Account on Coinbase:
- Account ID: user_12345
- Balance: $500
- Tier: INVESTOR
- Long only (Coinbase doesn't support shorts)
- Profit taken at TP1 (1.5% gross, 0.1% net after fees)

2. Platform Accounts

Description: Accounts that trade and emit signals for followers to copy.

Characteristics:

Profit-Taking:

Configuration:

# .env file
COPY_TRADING_MODE=MASTER
MASTER_ACCOUNT_ID=master_trader_001

# Platform broker credentials
KRAKEN_PLATFORM_API_KEY=your_master_key
KRAKEN_PLATFORM_API_SECRET=your_master_secret

Signal Flow:

1. Master detects opportunity β†’ LONG BTC-USD @ $42,000
2. Master executes β†’ Order fills at $42,000
3. Master emits signal β†’ TradeSignal(side="buy", symbol="BTC-USD", ...)
4. Master monitors position β†’ Checks TP levels every cycle
5. Master hits TP1 β†’ Price reaches $42,840 (2% profit)
6. Master takes profit β†’ Sells position
7. Master emits exit signal β†’ TradeSignal(side="sell", symbol="BTC-USD", ...)

Example:

Platform Account on Kraken:
- Account ID: master_001
- Balance: $10,000
- Tier: LIVABLE
- Long AND short enabled
- Profit taken at TP2 (3% gross, 2.64% net on Kraken)
- 15 follower accounts copied this profit-taking exit

3. User Accounts (Independent Trading)

Description: User-controlled accounts that trade independently using the NIJA algorithm.

Characteristics:

Profit-Taking:

Configuration:

# .env file
COPY_TRADING_MODE=MASTER_FOLLOW
MASTER_ACCOUNT_ID=master_trader_001

# Follower broker credentials (can be different from master)
COINBASE_API_KEY=your_follower_key
COINBASE_API_SECRET=your_follower_secret

Copy Trading Flow:

Platform Account (Kraken):          Follower Account (Coinbase):
---------------------             -------------------------
Entry: $10,000 β†’ BTC-USD          Entry: $500 β†’ BTC-USD
Position: $1,000 (10%)            Position: $50 (10% scaled)
Price: $42,000                    Price: $42,000
TP1: $42,840                      TP1: $42,840

[Price hits TP1]                  [Price hits TP1]

Exit: Sell $1,000 at $42,840      Exit: Sell $50 at $42,840
Gross: +2.0%                      Gross: +2.0%
Fees: -0.36% (Kraken)             Fees: -1.4% (Coinbase)
Net: +1.64% = $16.40 profit       Net: +0.6% = $0.30 profit

Example:

Follower Account:
- Account ID: user_54321
- Balance: $250
- Master: master_001 (Kraken)
- Follower Broker: Coinbase
- Tier: SAVER
- Copied master's TP1 exit successfully
- Profit: $0.30 (net after Coinbase fees)

4. Multi-Account Setups

Description: Multiple accounts managed together, can be mix of master/followers/independent.

Characteristics:

Profit-Taking:

Configuration:

# .env file
MULTI_ACCOUNT_MODE=true

# Master Kraken
KRAKEN_PLATFORM_API_KEY=master_kraken_key
KRAKEN_PLATFORM_API_SECRET=master_kraken_secret

# Master Coinbase
COINBASE_MASTER_API_KEY=master_coinbase_key
COINBASE_MASTER_API_SECRET=master_coinbase_secret

# User accounts configured via USER_MANAGEMENT.md

Example Setup:

Multi-Account Configuration:
β”œβ”€β”€ Master Kraken ($10,000, LIVABLE tier)
β”‚   β”œβ”€β”€ Follower 1: user_001 Kraken ($500, INVESTOR)
β”‚   β”œβ”€β”€ Follower 2: user_002 Kraken ($250, SAVER)
β”‚   └── Follower 3: user_003 Kraken ($1,000, INVESTOR)
β”‚
β”œβ”€β”€ Master Coinbase ($5,000, INCOME tier)
β”‚   β”œβ”€β”€ Follower 1: user_004 Coinbase ($200, SAVER)
β”‚   └── Follower 2: user_005 Coinbase ($800, INVESTOR)
β”‚
└── Independent OKX ($2,000, INCOME tier)
    └── Trades autonomously, no copy trading

πŸ”„ Profit-Taking Across Account Types

Matrix: Account Type Γ— Position Type Γ— Broker

Account Type Long Profit-Taking Short Profit-Taking Broker Support
Individual - Coinbase βœ… Yes ❌ No (spot only) Coinbase spot only
Individual - Kraken βœ… Yes βœ… Yes Kraken margin
Individual - Binance βœ… Yes βœ… Yes Binance futures
Individual - OKX βœ… Yes βœ… Yes OKX margin
Individual - Alpaca βœ… Yes βœ… Yes (stocks) Alpaca margin
Master - Coinbase βœ… Yes ❌ No Coinbase spot only
Master - Kraken βœ… Yes βœ… Yes Kraken margin
Master - Binance βœ… Yes βœ… Yes Binance futures
Follower - Any βœ… Yes βœ… Yes* *If follower’s broker supports
Multi-Account βœ… Yes βœ… Yes* *Per account’s broker

πŸ’° Fee-Aware Profit Targets by Account Type

Individual Accounts

Coinbase (Long Only):

Kraken (Long + Short):

Platform Accounts

Same as individual - platform accounts use identical profit targets.

Follower Accounts

Scaled to follower’s broker fees:

Configuration for followers:

# Override profit targets for follower account
OVERRIDE_PROFIT_TARGETS=true
MIN_PROFIT_TARGET=1.5  # 1.5% minimum for Coinbase follower

πŸ”§ Configuration Examples

Example 1: Single Individual Account

# .env
TRADING_TIER=INVESTOR
KRAKEN_PLATFORM_API_KEY=your_key
KRAKEN_PLATFORM_API_SECRET=your_secret
LIVE_MODE=true

Result:

Example 2: Master + 3 Followers

# .env for Master
COPY_TRADING_MODE=MASTER
MASTER_ACCOUNT_ID=master_001
KRAKEN_PLATFORM_API_KEY=master_key
KRAKEN_PLATFORM_API_SECRET=master_secret
TRADING_TIER=LIVABLE

# .env for Follower 1
COPY_TRADING_MODE=MASTER_FOLLOW
MASTER_ACCOUNT_ID=master_001
KRAKEN_USER_API_KEY=follower1_key
KRAKEN_USER_API_SECRET=follower1_secret
TRADING_TIER=INVESTOR

# .env for Follower 2
COPY_TRADING_MODE=MASTER_FOLLOW
MASTER_ACCOUNT_ID=master_001
COINBASE_API_KEY=follower2_key
COINBASE_API_SECRET=follower2_secret
TRADING_TIER=SAVER

# .env for Follower 3
COPY_TRADING_MODE=MASTER_FOLLOW
MASTER_ACCOUNT_ID=master_001
KRAKEN_USER_API_KEY=follower3_key
KRAKEN_USER_API_SECRET=follower3_secret
TRADING_TIER=INCOME

Result:

Example 3: Multi-Account Independent Trading

# .env
MULTI_ACCOUNT_MODE=true
MULTI_BROKER_INDEPENDENT=true

KRAKEN_PLATFORM_API_KEY=account1_key
KRAKEN_PLATFORM_API_SECRET=account1_secret

COINBASE_API_KEY=account2_key
COINBASE_API_SECRET=account2_secret

OKX_MASTER_API_KEY=account3_key
OKX_MASTER_API_SECRET=account3_secret

Result:


🎯 Profit-Taking Guarantees by Account Type

Individual Accounts

Platform Accounts

Follower Accounts

Multi-Account Setups


πŸ“Š Monitoring All Account Types

Log Examples

Individual Account:

🎯 TAKE PROFIT TP1 HIT: BTC-USD at $42,840 (PnL: +2.0%)
   Account: individual_user_12345
   Tier: INVESTOR
   Broker: Kraken

Platform Account:

🎯 TAKE PROFIT TP2 HIT: ETH-USD at $2,575 (PnL: +3.0%)
   Account: MASTER_master_001
   Tier: LIVABLE
   Broker: Kraken
πŸ“‘ Emitting exit signal to 5 followers...

Follower Account:

πŸ”„ Copying MASTER exit signal: ETH-USD
   Master: master_001
   Follower: user_54321
   Master position: $1,000
   Follower position: $25 (scaled to balance)
βœ… Follower profit taken: $0.65 net

Multi-Account:

πŸ“Š Multi-Account Profit Summary:
   Account 1 (Kraken Master): +$16.40
   Account 2 (Follower 1): +$8.20
   Account 3 (Follower 2): +$0.30
   Account 4 (Independent OKX): +$24.50
   Total profit across 4 accounts: +$49.40

πŸ” Verification Checklist

Use this to verify profit-taking works on all your accounts:

Individual Accounts

Platform Accounts

Follower Accounts

Multi-Account Setups


🚨 Troubleshooting

β€œFollower not copying master’s profit-taking exit”

Check:

  1. Master is connected and online
  2. Follower has same broker or compatible broker
  3. Copy trading mode is enabled
  4. Follower account has sufficient balance
  5. Trade signals are being emitted

Solution:

# Check master connection
grep "MASTER.*connected" nija.log

# Check signal emission
grep "Emitting.*signal" nija.log

# Check follower copying
grep "Copying.*exit" nija.log

β€œMulti-account setup not taking profit on all accounts”

Check:

  1. Each account has valid credentials
  2. Each account is connected
  3. Independent trading mode is enabled
  4. Accounts have open positions to take profit on

Solution:

# Check account connections
grep "connected.*successfully" nija.log

# Check profit monitoring for each account
grep "PROFIT.*account" nija.log


Last Updated: January 22, 2026 Maintained By: NIJA Trading Systems Version: 1.0