Beginner here, using Python. I want to trade EURUSD from an hour after markets open (6PM sunday EST) to closing out my positions an hour before they close (4PM friday EST). What is the best way to do this? 

Also, is there some documentation of available methods I can search through? For example, I don't know how to find more about "self.ClosePositions". Or search for relevant time methods. 

Thank you!