import { PortfolioId, RecipeId, RecipeLogic, UserId } from '..'; import { CoinSymbol, Trade } from '../..'; export interface PortfolioRecipe { id: PortfolioRecipeId; /** ID of the original recipe */ recipe: RecipeId; /** ID of the user running the recipe */ user: UserId; /** ID of the user who created the recipe */ creator: UserId; /** ID of the portfolio in which this recipe is being run */ portfolio: PortfolioId; /** Trades executed by this recipe */ trades: Trade[]; /** The symbol for the coin this recipe trades */ coin: CoinSymbol; /** Logic run in the recipe */ logicFlow: RecipeLogic; /** The version of the recipe logic saved */ version: number; /** Denotes whether the recipe was ever started. */ isActive: boolean; /** After the recipe has been stopped, it will be archived as a completed recipe */ isCompleted: boolean; } export declare type PortfolioRecipeId = string;