Skip to main content

Signals

Signals are trading intentions that can be reviewed and processed into orders. They enable automation, flexibility, and clear audit trails.

Why Use Signals?

  1. Automation - Receive signals from TradingView, custom scripts, or other systems
  2. Review First - Create signals, verify them, then execute
  3. Flexible Sizing - Specify shares, percentage of equity, or dollar amounts
  4. Strategy Tracking - Link signals to strategies for performance analysis
  5. Scheduled Execution - Queue signals for future times

Signal Actions

Signals use four explicit actions that combine direction and intent:

ActionDescriptionResulting Order
openLongOpen a long positionBuy
closeLongClose a long positionSell
openShortOpen a short positionSell (short)
closeShortClose a short positionBuy (cover)
Why Not Just "Buy" and "Sell"?

"Buy" is ambiguous - it could mean opening a long OR closing a short. Signal actions make your intent explicit, reducing errors.

Creating Signals

Manual Creation

  1. Navigate to Signals in the menu
  2. Click New Signal
  3. Fill in the details:
FieldDescription
AccountWhich trading account
SymbolTicker symbol (e.g., AAPL)
ActionopenLong, closeLong, openShort, closeShort
Quantity TypeHow to interpret the quantity
QuantityAmount based on quantity type
StrategyOptional - for performance tracking
Limit PriceOptional - for limit orders
Stop PriceOptional - for stop orders
  1. Click Save
  2. Signal enters "Pending" status

Quantity Types

TypeQuantity MeaningExample
FixedNumber of shares100 = buy 100 shares
Percent Equity% of account equity5 = invest 5% of equity
Dollar AmountDollar value to invest1000 = invest $1000

Percentage and dollar quantities are calculated at processing time using current prices and account equity.

Processing Signals

Converting a signal to an order:

Single Signal

  1. Find the signal in the Signals table
  2. Click Process
  3. Order is created and sent to broker
  4. Signal status changes to "Executed"

Batch Processing

  1. Select multiple pending signals (checkboxes)
  2. Click Process Selected
  3. All signals convert to orders

Signal Statuses

StatusMeaning
PendingCreated, awaiting processing
ProcessingCurrently being converted to order
ExecutedSuccessfully converted to order
RejectedFailed validation
CancelledManually cancelled
ExpiredPassed its validUntil time

Webhook Integration

For automated trading, signals can be received via HTTP webhook.

Setup

  1. Go to Settings > API Keys
  2. Click Create API Key
  3. Select signals:write scope
  4. Copy the generated key

Sending Signals

curl -X POST https://api.universaltrademanager.com/api/v1/signals/ingest \
-H "Content-Type: application/json" \
-H "X-API-Key: utm_your_api_key" \
-d '{
"symbol": "AAPL",
"action": "openLong",
"accountId": "your-account-uuid",
"quantity": 100
}'

See Signal Ingest API for full documentation.

Exit Rules

Automatically create exit signals when entry signals fill.

Example: Close position at market close:

{
"symbol": "AAPL",
"action": "openLong",
"accountId": "your-account-uuid",
"quantity": 100,
"exitRule": {
"orderType": "moc",
"timeInForce": "cls"
}
}

See Exit Rules Reference for all options.