PineStrategyTrade
Integration guide · Reference index
Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.
entryBarIndex
entryBarIndex: number | null;Use the type signature above and the integration guide for the owning capability.
entryComment
entryComment?: string;Use the type signature above and the integration guide for the owning capability.
entryOrderId
entryOrderId: string;Use the type signature above and the integration guide for the owning capability.
entryPrice
entryPrice: number;Use the type signature above and the integration guide for the owning capability.
entryTime
entryTime: number;Use the type signature above and the integration guide for the owning capability.
exitBarIndex
exitBarIndex: number | null;Use the type signature above and the integration guide for the owning capability.
exitComment
exitComment?: string;Use the type signature above and the integration guide for the owning capability.
exitOrderId
exitOrderId?: string;Use the type signature above and the integration guide for the owning capability.
exitPrice
exitPrice?: number;Use the type signature above and the integration guide for the owning capability.
exitTime
exitTime?: number;Use the type signature above and the integration guide for the owning capability.
id
id: string;Use the type signature above and the integration guide for the owning capability.
maxAdverseExcursion
maxAdverseExcursion: number | null;Use the type signature above and the integration guide for the owning capability.
maxFavorableExcursion
maxFavorableExcursion: number | null;Use the type signature above and the integration guide for the owning capability.
profit
profit?: number;Use the type signature above and the integration guide for the owning capability.
profitPercent
profitPercent?: number;Use the type signature above and the integration guide for the owning capability.
quantity
quantity: number;Use the type signature above and the integration guide for the owning capability.
side
side: "long" | "short";Use the type signature above and the integration guide for the owning capability.