Status
  • env: production
  • logLevel: info
  • upTime: 11:21:22
  • rss: 122.93 MB
  • heapTotal: 65.12 MB
  • heapUsed: 59.79 MB
  • external: 3.6 MB
  • arrayBuffers: 0.4 MB
Dependencies
  • @repo/server-lib: *
  • @rotorsoft/eventually: ^5.7.23
  • @rotorsoft/eventually-express: ^5.7.12
  • @rotorsoft/eventually-pg: ^5.5.20
  • zod: ^3.23.8

AllocationAggregate

An entity to keep track of an allocated portfolio of assets on a single exchange that is triggered by tradingview strategies


  • AllocationSubscribedToStrategy
  • AllocationNewStrategyPositionAccumulated
  • ScheduledAllocationWakeupRequested
  • TempStrategyWakeupNoop
  • AllocatedCapitalIncreased
  • AllocationRegistered
  • AllocationDeleted
AllocationAggregatePolicy

coordinator for the Allocation Aggregate

  • NotifyAllocationRequested 🔒
  • ScheduledAllocationWakeupRequested 🔒

  • NotifyNewStrategyPosition
  • ScheduleAllocationAccumulationProcessing
QueueSystem

System for job queueing with bullMQ


  • CommandScheduled
  • AllocationAccumulationProcessingScheduled
TVStrategyAggregate

An entity to log tradingview strategy webhooks and trigger other policies


  • WebhookKeyRegistered
  • WebhookAccumulated
  • ScheduledStrategyWakeupRequested
  • NewStrategyPosition
  • StrategyPositionUnchanged
  • NotifyAllocationRequested
  • StrategyAllocationSubscribed
  • StrategyDeleted
  • StrategyPositionForced
TVStrategyAggregatePolicy

Default Webhook Accumulator Policy

  • TradingViewWebhookLogged 🔒
  • RawTradingViewWebhookLogged 🔒
  • ScheduledStrategyWakeupRequested 🔒
  • AllocationSubscribedToStrategy 🔒

  • AccumulateWebhook
  • ScheduleCommand
  • NotifyStategyOfSubscribedAllocation
TVStrategyProjector

Tradingview strategy status projector

  • NewStrategyPosition 🔒
  • WebhookAccumulated 🔒
  • WebhookKeyRegistered 🔒
  • RawTradingViewWebhookLogged 🔒
  • StrategyAllocationSubscribed 🔒
  • StrategyDeleted 🔒

AllocationProjector

allocation status projector

  • AllocationRegistered 🔒
  • AllocationDeleted 🔒

TradingviewSystem

System for catching tradingview webhooks


  • TradingViewWebhookLogged
  • RawTradingViewWebhookLogged