TradeLens is an open-source trading journal tool designed to help traders gain deeper insights into their trades. By leveraging Obsidian, TradeLens offers a seamless way to convert trading data from HTS into structured notes.
- Import trading data directly from clipboard
- Automatically generate Obsidian-compatible markdown notes
- Track and analyze trade performance
- Easy to use and customizable
-
Clone the repository:
git clone https://github.com/yourusername/tradelens.git cd tradelens
-
Create and activate a virtual environment using
poetry
:poetry install poetry shell
-
Ensure your Kiwoom HTS trade log data is copied to the clipboard.
-
Run the CLI command to generate notes:
python tradelens/main.py generate-notes --output-dir <output_directory>
output-dir
: Directory where the generated markdown files will be saved.template-path
(optional): Path to the Jinja2 template file used for generating notes. Default istradelens/templates/journal_template.md
.
Example:
python tradelens/main.py generate-notes --output-dir notes