Last active
June 20, 2025 13:12
-
-
Save quantra-go-algo/ad8474f56ae8db225686d0da6dbafd2e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Logging function to print trading information with date | |
def log(self, txt): | |
dt = self.datas[0].datetime.date(0) | |
print('%s, %s' % (dt.isoformat(), txt)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment