2
Follow
1
Followers
Problemas para ejecutar la operación
El precio de apertura y cierre de la posición se ejecuta, el cierre de la posición móvil se ejecuta en tiempo real, y ahora se ha descubierto que no se puede hacer ambos a la vez, o que el código o la configuración tienen un problema
Related Recommendations
Inventor Quant Workflow FAQ (Continuously Updated)Financial Magic Zone Global KOL RecruitmentFAQ Summary (Updating...)PINE Language Introductory Tutorial of FMZ QuantPrimary Tutorial of Strategy Writing with FMZ Quant Trading Platform (Must Read)Getting Started with FMZ Quant Trading Platform (Must Read)MyLanguage DocFMZ PINE Script DocNotes & Explanation of Futures Reverse Doubling Algorithm StrategySolutions to Obtaining Docker Http Request Message
Comment
All comments (12)
根据策略的设置不同,策略的模型执行方式也不同,分为收盘价模型和实时价模型。收盘价模型、实时价模型的概念在之前我们也简单介绍过。
收盘价模型
策略代码执行时,当前K线Bar的周期完全执行完成,K线闭合时即K线周期已经走完。此时执行一遍Pine策略逻辑,触发的交易信号将在下一根K线Bar开始时执行。
实时价模型
策略代码执行时,当前K线Bar不论是否闭合,每次行情变动就执行一遍Pine策略逻辑,触发的交易信号立即执行。
3 years ago
- 1
