# 'Nighttime' strategies?

**URL:** <https://forums.collective2.com/t/nighttime-strategies/9055>\
**Category:** Trading and Markets\
**Created:** [December 6, 2016, 2:16pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055 "2016-12-06T14:16:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DavidCovert](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/davidcovert/32/5466_2.png) [@DavidCovert](https://forums.collective2.com/u/DavidCovert)\
**Post date:** [December 6, 2016, 2:16pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055/1 "2016-12-06T14:16:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![BobSvan2](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bobsvan2/32/21391_2.png) [@BobSvan2](https://forums.collective2.com/u/BobSvan2)\
**Post date:** [December 6, 2016, 6:33pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055/2 "2016-12-06T18:33:13Z")

</div>

Sure! We have C2Explorer! 😃

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

**This is it:**

```cs
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 
                   };

```

* * *

![](https://yyz2.discourse-cdn.com/flex028/uploads/collective2/5497/4a15dfa7f073593e.png)

* * *

![](https://yyz2.discourse-cdn.com/flex028/uploads/collective2/5498/453d2c111a35a99b.png)

Enjoy!

---

<div class="post-metadata">

**Author:** ![DavidCovert](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/davidcovert/32/5466_2.png) [@DavidCovert](https://forums.collective2.com/u/DavidCovert)\
**Post date:** [December 6, 2016, 8:27pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055/3 "2016-12-06T20:27:06Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![BobSvan2](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bobsvan2/32/21391_2.png) [@BobSvan2](https://forums.collective2.com/u/BobSvan2)\
**Post date:** [December 6, 2016, 8:45pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055/4 "2016-12-06T20:45:59Z")

</div>

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

![](https://yyz2.discourse-cdn.com/flex028/uploads/collective2/5499/5d4a6427aa176010.png)

Happy night trading with Collective2!

---

<div class="post-metadata">

**Author:** ![BobSvan2](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bobsvan2/32/21391_2.png) [@BobSvan2](https://forums.collective2.com/u/BobSvan2)\
**Post date:** [December 6, 2016, 8:54pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055/5 "2016-12-06T20:54:43Z")

</div>

> [@DavidCovert](#):
>
> 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

Perhaps because ‘Shamash’ is effectively dead?

---

<div class="post-metadata">

**Author:** ![DavidCovert](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/davidcovert/32/5466_2.png) [@DavidCovert](https://forums.collective2.com/u/DavidCovert)\
**Post date:** [December 6, 2016, 9:58pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055/6 "2016-12-06T21:58:21Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![BobSvan2](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bobsvan2/32/21391_2.png) [@BobSvan2](https://forums.collective2.com/u/BobSvan2)\
**Post date:** [December 7, 2016, 12:25pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055/7 "2016-12-07T12:25:20Z")

</div>

Use Collective2 search box:

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/collective2/original/2X/4/4efeac0867b7c37f9cacb909eeb1b5b0fc4f5459.png)

* * *

The LastTrade property does not exist.

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

![image](https://canada1.discourse-cdn.com/flex028/uploads/collective2/original/2X/2/2864e696b34f08ec7394b1126f3be8fa510db815.png)

So you need to download signals:

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

```

* * *

![image](https://canada1.discourse-cdn.com/flex028/uploads/collective2/original/2X/d/d9512f2c772a299cf133fcd6bc87790b2422fc51.png)

---

<div class="post-metadata">

**Author:** ![BobSvan2](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bobsvan2/32/21391_2.png) [@BobSvan2](https://forums.collective2.com/u/BobSvan2)\
**Post date:** [December 7, 2016, 12:33pm UTC](https://forums.collective2.com/t/nighttime-strategies/9055/8 "2016-12-07T12:33:21Z")

</div>

And this is “THE FINAL FUN”! 😃

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

…and…

the list of small frames showing those systems. 😋

```cs
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](https://canada1.discourse-cdn.com/flex028/uploads/collective2/original/2X/0/0ab6b256280b5cdfe846f6d107c382d06c7d510d.png)

* * *

![image](https://canada1.discourse-cdn.com/flex028/uploads/collective2/original/2X/7/7b2584e791a23233daa63cde03651815f1d5717d.png)

* * *

Enjoy Collective2!
