package Ġorg . k ent unc . bit tr ader . order . scheduler . presentation . configuration Ċ Ċ import Ġorg . k ent unc . bit tr ader . order . scheduler . application . Trade Interactor Ċ import Ġorg . k ent unc . bit tr ader . order . scheduler . presentation . scheduler . Trade Scheduler Ċ import Ġorg . springframework . boot . context . properties . Enable Configuration Properties Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . context . annotation . Profile Ċ import Ġorg . springframework . scheduling . annotation . Enable Scheduling Ċ Ċ @ Configuration Ċ @ Enable Scheduling Ċ @ Profile (" scheduling ") Ċ @ Enable Configuration Properties ( Scheduler Configuration Properties :: class ) Ċ class ĠScheduler Configuration ( private Ġval Ġproperties : ĠScheduler Configuration Properties ) Ġ{ ĊĊĠĠĠ Ġ@ Bean ĊĠĠĠ Ġfun Ġtrade Scheduler ( trade Interactor : ĠTrade Interactor ) Ġ= ĊĠĠĠĠĠĠĠ ĠTrade Scheduler ( properties . product Code , Ġproperties . duration , Ġtrade Interactor ) Ċ } Ċ