Is there an method already built in for incrementing by some time increment that takes into account when the market is open? 

For example, I sell a stock 2 hours after I buy it. This takes place even over the end of day and over weekends. So if I buy on Friday at 3pm, then I would sell it on Monday at 10:30AM. 


I could bulid one myself but was curious if it had already been implemented somewhere.