[x] research in detail about locals, globals argument of exec function
[x] Define a way to integrate 'status' of report model into backtest executions in celery.
(디자인적으로는 뭔가를 실행하는 코드를 짤 때
prepare (Prepare execution, do housekeeping stuff and load necessary information)
execute (Public wrapper function to protect actual executing function)
doExecute (Private function which actually does the execution)
cleanUp (Teardown, destroy objects and remove loaded information)
의 3단계로 쪼개서 짜는게 가장 깔끔하고 덜 복잡함. 지금 코드쪽을 보면 이게 다 섞여 있는 것 같음. 특히 멀티프로세싱쪽으로 코드 리팩토링할 거 생각하면 이거를 좀 고칠 필요는 있는 것 같아. 나중에 자세하게 얘기할 필요성이 있음),
(생각해보니까 status update가 여기 말고 보인 적이 없음. 이것도 celery library로 옮길 때 추가해야 하는 부분.)
(디자인적으로는 뭔가를 실행하는 코드를 짤 때
prepare (Prepare execution, do housekeeping stuff and load necessary information) execute (Public wrapper function to protect actual executing function) doExecute (Private function which actually does the execution) cleanUp (Teardown, destroy objects and remove loaded information) 의 3단계로 쪼개서 짜는게 가장 깔끔하고 덜 복잡함. 지금 코드쪽을 보면 이게 다 섞여 있는 것 같음. 특히 멀티프로세싱쪽으로 코드 리팩토링할 거 생각하면 이거를 좀 고칠 필요는 있는 것 같아. 나중에 자세하게 얘기할 필요성이 있음),
(생각해보니까 status update가 여기 말고 보인 적이 없음. 이것도 celery library로 옮길 때 추가해야 하는 부분.)