Autres mécaniques de règles II

Négociation financière en R

Ilya Kipnis

Professional Quantitative Analyst and R programmer

Autres arguments pour ruleSignal

  • replace
  • prefer
Négociation financière en R

Structure

add.rule(strategy.st, name = "ruleSignal", 
         arguments = list(sigcol = "filterexit", 
                          sigval = TRUE, orderqty = "all", 
                          ordertype = "market",
                          orderside = "long", 
                          replace = FALSE, prefer = "Open"),
         type = "exit")
  • replace : TRUE annule les autres signaux, sinon FALSE

  • prefer : moment d'entrée en position

    • barre : open, high, low, close
    • par défaut : achat à la clôture du prochain jour/barre
Négociation financière en R

Passons à la pratique !

Négociation financière en R

Preparing Video For Download...