'Nighttime' strategies?

I am in the US and currently only use strategies that day trade in US markets. As a consequence my capital gets pretty bored at night and is looking for some action.

Is there a way to filter for day trade strategies that are active in Asian markets? Or European?

Dave

2 Likes

Sure! We have C2Explorer! :smiley:

Select systems which trade symbols starting with “ASX.”, “LSE.”, “GE.”;

This is it:

H3 = "ASX"; 
// Select systems trading ASX
var systems = (from trade in C2TRADES 
               where trade.Symbol.StartsWith("ASX.")
               select trade.SystemId).Distinct();

TABLE = from system in C2SYSTEMS 
        where systems.Contains(system.SystemId)
        select new { ID = system.SystemId,
                     Name = system.SystemName,
                     StartingCash = system.StartingCash 
                   };

// The same for LSE and GE
H3 = "LSE or GE"; 
systems = (from trade in C2TRADES 
               where 
                trade.Symbol.StartsWith("LSE.")
                ||
                trade.Symbol.StartsWith("GE.")
               select trade.SystemId).Distinct();

TABLE = from system in C2SYSTEMS 
        where systems.Contains(system.SystemId)
        select new { ID = system.SystemId,
                     Name = system.SystemName,
                     StartingCash = system.StartingCash 
                   };


Enjoy!

What does it mean when I fins a name in Explorer and then when used as a name filter in The Grid, no strategies appear? (eg. strategy ‘Shamash’ found in Explorer but not in The Grid)

Enjoying!

Dave

The code is published now. Less code and more data for your investigation. :wink:

Happy night trading with Collective2!

Perhaps because ‘Shamash’ is effectively dead?

How did you get to that page? I may have more of them to check… (and I don’t see a c2ex_publicsystems.LastTrade property)

Dave

Use Collective2 search box:


The LastTrade property does not exist.

The Collective2 page says: “Last trade signal…”:

image

So you need to download signals:

TABLE = from signal in C2SIGNALS 
  		where signal.SystemId == 92310799 
  		select signal;

image

1 Like

And this is “THE FINAL FUN”! :smiley:

The following code generates a list of links to selected systems…

…and…

the list of small frames showing those systems. :yum:

H3 = "ASX"; 
// Select systems trading ASX
var systems = (from trade in C2TRADES 
               where trade.Symbol.StartsWith("ASX.")
               select trade.SystemId).Distinct();

var systemsInfo =  (from system in C2SYSTEMS 
                   where systems.Contains(system.SystemId)
                   orderby system.SystemName 
                   select system).ToList();

TABLE = systemsInfo;

foreach(var system in systemsInfo){
	HTML = String.Format(
  	@"<a href='https://collective2.com/system{0}' target='_blank'>{1}</a>",
  	system.SystemId,system.SystemName); 
}

H2 = "The Final Fun :-)";

foreach(var system in systemsInfo){
  HTML = String.Format(
    @"<a href='https://collective2.com/system{0}' target='_blank'>{1}</a>",
    system.SystemId,system.SystemName); 
  
  FRAME = new HtmlFrame(){
  	Src = String.Format(@"https://collective2.com/system{0}",system.SystemId), 
    	Height = 400,
    	Width = 800
  	};
}

image


image


Enjoy Collective2!

2 Likes