# Could someone help

**URL:** <https://forums.collective2.com/t/could-someone-help/14646>\
**Category:** Seetu\
**Created:** [January 11, 2021, 1:51pm UTC](https://forums.collective2.com/t/could-someone-help/14646 "2021-01-11T13:51:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BryanMiller](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bryanmiller/32/13504_2.png) [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Post date:** [January 11, 2021, 1:51pm UTC](https://forums.collective2.com/t/could-someone-help/14646/1 "2021-01-11T13:51:18Z")

</div>

SetOption(“RunItSpec”,"  
{mon, every 1439 minutes between 00:00 and 23:59 },  
{tue, every 1439 minutes between 00:00 and 23:59 },  
{wed, every 1439 minutes between 00:00 and 23:59 },  
{thu, every 1439 minutes between 00:00 and 23:59 },  
{fri, every 960 minutes between 00:00 and 16:00 },  
{sun, every 559 minutes between 14:00 and 23:59 }  
");

how do i make this turn on from 2 pm sunday to 4pm friday?

---

<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:** [January 11, 2021, 3:47pm UTC](https://forums.collective2.com/t/could-someone-help/14646/2 "2021-01-11T15:47:19Z")

</div>

How frequently should it be run?

---

<div class="post-metadata">

**Author:** ![BryanMiller](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bryanmiller/32/13504_2.png) [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Post date:** [January 11, 2021, 4:00pm UTC](https://forums.collective2.com/t/could-someone-help/14646/3 "2021-01-11T16:00:41Z")

</div>

the whole time every minute of every day from 2pm sunday to 4pm friday

---

<div class="post-metadata">

**Author:** ![BryanMiller](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bryanmiller/32/13504_2.png) [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Post date:** [January 11, 2021, 6:07pm UTC](https://forums.collective2.com/t/could-someone-help/14646/4 "2021-01-11T18:07:50Z")

</div>

also if you know how to put in an order to close all orders on friday that would be cool i cant seem to find it on the seetu language guide

---

<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:** [January 13, 2021, 3:42pm UTC](https://forums.collective2.com/t/could-someone-help/14646/5 "2021-01-13T15:42:28Z")

</div>

Settings:

SetOption(“RunItSpec”,"  
{mon, every 1 minutes between 00:01 and 23:59 },  
{tue, every 1 minutes between 00:01 and 23:59 },  
{wed, every 1 minutes between 00:01 and 23:59 },  
{thu, every 1 minutes between 00:01 and 23:59 },  
{fri, every 1 minutes between 00:01 and 16:00 },  
{sun, every 1 minutes between 14:00 and 23:59 }  
");

You should use the smallest possible data for your strategy.  
It means no more than a few days of 1 minutes bars and a couple of symbols.  
Calculations could take more than one minute otherwise.  
It depends on the complexity of your code of course.

> [@BryanMiller](#):
>
> also if you know how to put in an order to close all orders on friday that would be cool i cant seem to find it on the seetu language guide

We do not have any automation for that.

---

<div class="post-metadata">

**Author:** ![BryanMiller](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bryanmiller/32/13504_2.png) [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Post date:** [January 13, 2021, 8:35pm UTC](https://forums.collective2.com/t/could-someone-help/14646/6 "2021-01-13T20:35:52Z")

</div>

my strategy is actually quit simple it seems to work at 1440min i will try the other way 1 min intervals thanks for the help

---

<div class="post-metadata">

**Author:** ![BryanMiller](https://yyz2.discourse-cdn.com/flex028/user_avatar/forums.collective2.com/bryanmiller/32/13504_2.png) [@BryanMiller](https://forums.collective2.com/u/BryanMiller)\
**Post date:** [January 14, 2021, 9:37pm UTC](https://forums.collective2.com/t/could-someone-help/14646/7 "2021-01-14T21:37:04Z")

</div>

id broke it writing 1400min is the way to go easy fix. jsut thought i would let you know.
