This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def process_manager( | |
self, | |
trading_pair: str, | |
timestamp: float, | |
manager: Union[helper.ShiftOrderManager, helper.OffsetShiftOrderManager], | |
pending_offset_jobs: helper.PendingOffsetJobs, | |
) -> None: | |
manager_name = manager.__class__.__name__ | |
maker_exchange = self.maker_exchange | |
# skip condition applicable to both manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from fastai.vision.all import * | |
#from nbdev.showdoc import * | |
set_seed(2) | |
bs = 64 | |
path = untar_data(URLs.PETS); | |
Path.BASE_PATH = path # display all paths relative to dataset root |