Export Close Data To R 2

Posted on 12, March 2014

in Category SID


Description for NewAccount SID 789

This examoke system exports close data to R

Export Close Data To R/sid Notes for this Trading Account:

Export Close Data To R/sid Rules for this Trading Account:

Export Close Data To R/sid Notes for this Trading System:

Export Close Data To R/sid Rules for this Trading System:

Export Close Data To R/sid Begin event logic:

$data = [];

Export Close Data To R/sid Bar event logic:

push @$data, Now(Close);

Export Close Data To R/sid End event logic:


RVar('data', \@$data);
RVar('symbol', Symbol);

R '
saveRDS(data, file=paste(symbol,".rds", sep=""));
';

2 Comments

  1. ebweinstein says:

    Thanks! But I get this error :

    Global symbol “$data” needs to be explicitly declared at line 1.

  2. Seer Seer says:

    If you download this object directly into Seer (via the SID functionality) if should work, see this video tutorial on how to do that (very easy):

    http://www.youtube.com/watch?v=GHzP0Vmwlzc

Leave a Message