Description
A powerful trade journal plugin for importing and managing NinjaTrader CSV trade data in WordPress.
TradeJournal WP is a trade journal plugin designed to help traders keep track of their trading performance by importing trades from NinjaTrader CSV files. Currently, it supports only NinjaTrader, with plans to support additional platforms in the future.
With TradeJournal WP, you can upload a CSV file containing your trades for a particular day, and the plugin will automatically create a post that logs all trades for that day. NinjaTrader allows you to export trades for a specific day or multiple days in one CSV file, which can then be imported into TradeJournal WP to create detailed trade journal posts.
Key Features:
– Import trades from NinjaTrader CSV files.
– Create custom posts for each trading day with detailed trade information.
– Supports trade data, including instrument, entry/exit times, account, and P&L calculations.
– Display a monthly trade performance summary with the [trade_averages]
shortcode, showing metrics like average profit, win/loss percentage, and total trades.
– Block-based theme compatibility.
Planned Future Enhancements:
– Support for additional trading platforms.
– More advanced trade analytics and reporting tools.
Usage
-
Importing Trades:
- Navigate to the “Trade Journals” section in your WordPress dashboard.
- Create a new post and upload a CSV file containing trades from NinjaTrader.
- The plugin will automatically generate a detailed post with your trade data for the selected day.
-
Displaying Trade Journals on the Frontend:
- Use the shortcode
[tradejournalwp_posts]
to display a list of trade journal posts on any page or post. - The shortcode will automatically format the posts using a responsive masonry layout.
- Use the shortcode
-
Customizing the Display:
- You can adjust the number of posts displayed with the
posts_per_page
attribute in the shortcode:
[tradejournalwp_posts posts_per_page=”5″]
- You can adjust the number of posts displayed with the
-
Managing Multiple Accounts:
- (Pro Version Only) Merge trades from multiple accounts using the “Merge Accounts” feature in the plugin’s options page.
External Libraries
This plugin uses the following external libraries:
-
PhotoSwipe: Used for lightbox functionality. The minified version of the PhotoSwipe script is included in the plugin for performance reasons. You can access the source code and documentation here: PhotoSwipe GitHub Repository.
-
FooTable: Used for rendering responsive tables.
Source: https://github.com/fooplugins/FooTable
Minified version: assets/js/footable.min.js
Non-minified version: assets/js/footable.js -
Isotope.js: Used for dynamic, filterable layouts (masonry layout) in the plugin.
Source: https://isotope.metafizzy.co/
Minified version: assets/js/isotope.pkgd.min.js
Non-minified version: assets/js/isotope.pkgd.js -
imagesLoaded: Used in conjunction with Isotope.js to ensure images are fully loaded before layout calculations.
Source: https://imagesloaded.desandro.com/
Minified version: assets/js/imagesloaded.pkgd.min.js
Non-minified version: assets/js/imagesloaded.pkgd.js
The non-minified source code is included for transparency and review purposes. You can find the original source and contribute at the provided links.
Installation
- Download the plugin zip file.
- Go to the WordPress dashboard and navigate to Plugins > Add New.
- Click “Upload Plugin” and upload the TradeJournal WP zip file.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- To use TradeJournal WP, go to the “Trade Journals” section of your dashboard and create a new post by uploading a CSV file of your trades.
FAQ
-
Which trading platforms are supported?
-
Currently, TradeJournal WP only supports NinjaTrader. However, we plan to add support for more platforms in future updates.
-
How do I import trades?
-
You can import trades by uploading a CSV file in the post editor. In NinjaTrader, you can export your trades by selecting a specific day or multiple days, then upload that file to TradeJournal WP.
-
Can I merge trades across multiple accounts?
-
This feature is only available in the Pro version.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“TradeJournal WP” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “TradeJournal WP” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.5
- Confirmed compatibility with WordPress 6.7.
- Fixed directory structure issue for correct release on WordPress Plugin Directory.
1.0.4
- Fixed nonce verification issue in trade form.
- Improved input sanitization for trade entries.
1.0.3
- Removed
[tradejournal_performance]
shortcode for further improvements. - Minor bug fixes related to data display.
1.0.2
- Fixed issues with data duplication in trade performance reports.
- Improved handling of invalid date entries.
1.0.1
- Fixed a query performance issue affecting large datasets.
- Resolved a bug causing incorrect date formats in some trades.
1.0
- Initial release of TradeJournal WP with support for importing NinjaTrader CSV files.