Re: [問題] 時間停損

看板Trading作者 (占卜師)時間15年前 (2009/07/10 23:08), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/4 (看更多)
※ 引述《lyndonxxx (lyndon)》之銘言: : HTS如何寫出時間停損 : 例如當沖系統中 在收盤前平倉的邏輯 : 小弟是程式菜鳥 Orz if time=134500 and currentcontracts<>0 then exitlong this bar at market exitshort this bar at market end if if q_time>=134300 and q_time<=134400 and currentcontracts<>0 then exitlong this bar at market exitshort this bar at market end if -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.165.86.142
文章代碼(AID): #1ALrc0QA (Trading)
討論串 (同標題文章)
文章代碼(AID): #1ALrc0QA (Trading)