package com.r35157.jupiterperpsalarm;

/**
 * Monitors configured Jupiter Perps prices and dispatches matching alarm
 * actions.
 *
 * <p>An instance is expected to be fully configured with its wallet and
 * Jupiter service before it is started. Those dependencies determine which
 * wallet is observed and used for transaction actions; alarm action files do
 * not select them.</p>
 */
public interface JupiterPerpsAlarm {
    /**
     * Starts alarm monitoring asynchronously.
     *
     * <p>Each instance must be started at most once.</p>
     */
    void start();
}
