{"comment":{"url":"https://api.github.com/repos/dpavlenkov/Lean/comments/11846175","html_url":"https://github.com/dpavlenkov/Lean/commit/d772016df95710eee1b0f3b80572c43f6e7cd153#commitcomment-11846175","id":11846175,"user":{"login":"jaredbroad","id":2243225,"avatar_url":"https://avatars.githubusercontent.com/u/2243225?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredbroad","html_url":"https://github.com/jaredbroad","followers_url":"https://api.github.com/users/jaredbroad/followers","following_url":"https://api.github.com/users/jaredbroad/following{/other_user}","gists_url":"https://api.github.com/users/jaredbroad/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredbroad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredbroad/subscriptions","organizations_url":"https://api.github.com/users/jaredbroad/orgs","repos_url":"https://api.github.com/users/jaredbroad/repos","events_url":"https://api.github.com/users/jaredbroad/events{/privacy}","received_events_url":"https://api.github.com/users/jaredbroad/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"d772016df95710eee1b0f3b80572c43f6e7cd153","created_at":"2015-06-24T19:26:46Z","updated_at":"2015-06-24T19:26:46Z","body":"Ok understood; would you prefer if the algorithm just \"restarted\" automatically or are you seeking reconciliation for manual book keeping/accounting?\r\n\r\ni.e. Maybe we could do some more generic state management code -- e.g. serializing & storing binary value of the QCAlgorithm internal object every minute so it could be \"restored\" to its previous minute state.\r\n\r\nWe do save the live orders data offsite every minute, so you should be able to reconcile it from the order logs up to 1 minute ago."}}