Closed danielkrizian closed 10 years ago
Run fomc strategy in examples to replicate:
fomc
beforeFOMC <- 4 # works for 2 FOMC <- indicator( FomcDay(Date, before=beforeFOMC), input=cal) Long <- (FOMC==TRUE) %position% shares(1) Neutral <- (FOMC!=TRUE) %position% shares(0) Backtest()
Fix probably this part:
resulting orders.filled with NAs for the timestamps when market data doesn't yet exist:
orders.filled
Run
fomc
strategy in examples to replicate:Fix probably this part:
resulting
orders.filled
with NAs for the timestamps when market data doesn't yet exist: