Skip to content

RyanBayne/TradePress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TradePress

License: GPL v3 WordPress Plugin Version

A comprehensive WordPress plugin for algorithmic stock analysis, trading decision support, and portfolio management. TradePress combines technical indicators, scoring directives, and multi-platform API integrations to help traders identify opportunities and manage risk.

⚠️ IMPORTANT: Project Restructure Notice

The advanced SEES (Scoring Engine Execution System), trading strategies, automated trading, and sophisticated scoring directives have been moved to a standalone application: Trading Command Suite

TradePress (WordPress plugin) will now focus on:

  • Trading platform API integration and data import
  • Displaying market data on WordPress websites
  • Personal portfolio tracking and management
  • Symbol management as a custom post type
  • Informational displays and potentially manual trading support

No longer in TradePress scope:

  • ❌ SEES scoring engine
  • ❌ Automated trading strategies
  • ❌ Complex scoring directives
  • ❌ Strategy builder and execution

Much of the existing documentation below is now outdated and will be stripped of SEES-related content. For advanced trading analysis and automation, see Trading Command Suite.

Developer Updates (Ryan)

TradePress is undergoing a major refocus (May 2026)

SEES and all advanced trading logic have been moved to the Trading Command Suite standalone application. TradePress will be streamlined to focus on WordPress-specific use cases: data import, display, and portfolio management.

Development will be more focused on WordPress.org community needs without the complexity of scoring engines and automated trading.

Premium Transparency

The WordPress.org community version will focus on reliable data integration and display. Advanced trading features (SEES, strategies, automation) are now in the separate Trading Command Suite application.

TradePress will remain focused on what WordPress does best: content management, custom post types, and data display.

Features (In-Development)

Core Capabilities

  • Scoring Directives - Custom algorithmic scoring system combining multiple technical indicators (RSI, MACD, CCI, ADX, Bollinger Bands, EMA, Volume analysis)
  • Strategy Builder - Create and manage custom trading strategies with weighted directive combinations
  • Multi-Platform Integration - Connect to 20+ trading and data platforms (Alpaca, Alpha Vantage, Finnhub, Polygon, IEX Cloud, and more)
  • Local Terminal Providers - Early MetaTrader 5 intake support for locally supplied market data without consuming online API quotas
  • Real-Time Data - Live market data with intelligent caching and API optimization
  • Portfolio Management - Track positions, manage risk, and monitor performance
  • Watchlist Management - Organize and monitor securities with custom alerts

Advanced Features

  • Automated Testing Framework - Built-in test registry and runner for directives and strategies
  • Risk Management - Position risk calculator, volatility monitoring, and risk factor analysis
  • Educational System - Interactive learning modules for trading concepts and analysis techniques
  • Advisor Mode - Step-by-step guidance for strategy development and execution
  • Webhook Integration - Connect external signals and automation triggers
  • Discord Integration - Real-time notifications and alerts via Discord webhooks

Installation

Requirements

  • WordPress 5.0+
  • PHP 7.4+
  • MySQL 5.7+ or MariaDB 10.2+

From WordPress.org (pending review approval)

  1. Go to WordPress Admin → Plugins → Add New
  2. Search for "TradePress" or install directly from: https://wordpress.org/plugins/tradepress/
  3. Click Install Now then Activate

From GitHub

  1. Clone the repository:

    git clone https://github.com/RyanBayne/TradePress.git
    cd TradePress
  2. Place in WordPress plugins directory:

    cp -r tradepress /path/to/wordpress/wp-content/plugins/
  3. Activate the plugin:

    • Go to WordPress Admin → Plugins
    • Find "TradePress" and click "Activate"
  4. Run Setup Wizard:

    • Navigate to TradePress → Setup Wizard
    • Configure API credentials for your preferred data platforms
    • Set up trading platform connections

Quick Start

1. Configure API Credentials

  • Go to TradePress → Settings → Trading Platforms
  • Add API keys for your data providers (Alpha Vantage, Finnhub, etc.)
  • Test connections using the diagnostic tools

2. Create Your First Strategy

  • Navigate to TradePress → Trading → Create Strategy
  • Select 3-5 scoring directives
  • Assign weights to each directive (total = 100%)
  • Save and activate your strategy

3. Monitor Scores

  • Go to TradePress → SEES Ready
  • Select your active strategy
  • View real-time scores for your watchlist symbols
  • Identify high-scoring opportunities

Configuration

Scoring Directives

TradePress includes 22+ pre-configured directives:

Directive Type Data Source Use Case
ADX Trend Technical Trend strength analysis
RSI Momentum Technical Overbought/oversold conditions
MACD Momentum Technical Momentum crossovers
CCI Oscillator Technical Commodity channel analysis
Bollinger Bands Volatility Technical Volatility breakouts
Volume Volume Technical Volume surge detection
EMA Trend Technical Exponential moving average

API Platforms Supported

  • Data Providers: Alpha Vantage, Finnhub, Polygon, IEX Cloud, Twelve Data, EODHD, MarketStack
  • Brokers: Alpaca, Interactive Brokers, Fidelity, E*TRADE, Webull, Trading212
  • Local Terminals: MetaTrader 5 proof endpoint for quotes/candles posted from a local terminal bridge
  • Social: Discord, StockTwits
  • Alternative Data: Intrinio, FMP, TradingView

Usage Examples

Create a Momentum Strategy

// Strategy with momentum-focused directives
$strategy = array(
    'name' => 'Momentum Play',
    'directives' => array(
        'rsi' => 30,      // 30% weight
        'macd' => 35,     // 35% weight
        'volume' => 35    // 35% weight
    )
);

Access Scoring Results

// Get scores for a symbol using active strategy
$scores = tradepress_get_symbol_scores('AAPL');
// Returns: array with individual directive scores and composite score

Set Up Webhooks

  • Go to TradePress → Webhooks
  • Create new webhook endpoint
  • Configure trigger conditions
  • Connect external signals or automation tools

Development

Asset Management Policy

  • Route all admin and front-end CSS/JS through the central asset management system.
  • Register assets in assets/style-assets.php and assets/script-assets.php.
  • Enqueue page-specific assets in assets/queue-assets.php based on page/tab context.
  • Avoid direct wp_enqueue_script() / wp_enqueue_style() inside feature pages unless there is a documented exceptional reason.
  • If a page needs dynamic script data, localize the centrally enqueued handle instead of directly enqueuing from the page class.

Project Structure

tradepress/
├── admin/              # Admin interface and settings
├── api/                # API integrations and adapters
├── includes/           # Core functionality
│   ├── scoring-system/ # Directive and strategy logic
│   ├── automation-system/ # Automated trading features
│   └── education-system/  # Learning modules
├── assets/             # CSS, JavaScript, images
├── classes/            # PHP classes
├── functions/          # Helper functions
├── posts/              # Custom post types
├── tests/              # Testing framework
└── shortcodes/         # WordPress shortcodes

Testing Directives

# Test individual directive
php test-directive.php cci

# Run full test suite
php tests/test-runner.php

Adding Custom Directives

  1. Create directive class extending TradePress_Scoring_Directive_Base
  2. Implement required methods: calculate(), get_score()
  3. Register in includes/scoring-system/directives-register.php
  4. Test using built-in testing framework

Contributing

We welcome contributions! Please follow these guidelines:

  1. Fork the repository and create a feature branch
  2. Follow WordPress coding standards - Use WordPress PHP Coding Standards
  3. Write tests for new features
  4. Document changes in commit messages
  5. Submit a pull request with clear description

Development Setup

# Clone and install
git clone https://github.com/RyanBayne/TradePress.git
cd TradePress

# Install dependencies (if using Composer)
composer install

# Run tests
php tests/test-runner.php

Support & Documentation

Roadmap

Phase 1 (Current)

  • ✅ Core scoring directives (5 directives)
  • ✅ Strategy builder
  • ✅ Multi-platform API integration
  • 🔄 Enhanced testing framework

Phase 2

  • Automated trading execution
  • Advanced analytics dashboard
  • Machine learning directive optimization
  • Performance backtesting

Phase 3

  • Mobile app integration
  • Advanced risk management tools
  • Predictive analytics
  • Community strategy marketplace

License

TradePress is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Disclaimer

This plugin is for educational and informational purposes only. It is not financial advice. Trading and investing involve substantial risk of loss. Past performance does not guarantee future results. Always conduct your own research and consult with a qualified financial advisor before making investment decisions.

Support the Project

TradePress is developed and maintained by volunteers. If you find this plugin valuable, consider:

  • Star the repository on GitHub
  • 🐛 Report bugs and suggest features
  • 📝 Contribute code or documentation
  • 💬 Share feedback and use cases
  • 💰 Sponsor development (see below)

Sponsorship & Funding

Support Development

Your support helps us maintain and improve TradePress:

What Your Support Enables

  • Faster bug fixes and feature development
  • Expanded API platform support
  • Enhanced documentation and tutorials
  • Community support and engagement
  • Advanced features and tools

Changelog

1.0.96

  • Added MetaTrader 5 local-terminal provider proof endpoints.
  • Added local terminal storage table for repeated stored-data scoring without external API calls.
  • Added starter MQL5 bridge example for posting terminal snapshots into TradePress.
  • Added stored-data MT5 proof scoring components for momentum, range position, spread safety, tick-volume confirmation, and freshness.

See CHANGELOG.md for version history and updates.

Authors

  • Ryan Bayne - Initial development and maintenance

Acknowledgments

  • WordPress community for excellent documentation
  • API providers for reliable market data
  • Contributors and testers

Questions? Open an issue or start a discussion on GitHub. We're here to help!

About

WordPress plugin to assist in making trade decisions using algorithms. A central stored history of trading and more.

Topics

Resources

License

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

 
 
 

Contributors