Asteria Financial Platform
Open-source WordPress financial analytics and paper trading plugin for portfolio simulation, watchlists, synthetic OHLCV market data, risk metrics (Sharpe, VaR, drawdown), Black-Scholes options, bond and FX models, REST APIs, and local-first fintech research—no external market-data service required.
by Shahin Ilderemi · github.com/ildrm/asteria-financial-platform · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ildrm/asteria-financial-platform/archive/refs/heads/main.zipAsteria is a self-contained financial intelligence and paper-trading workspace delivered as a standard WordPress plugin. Its executable PHP code, browser assets, schemas, deterministic synthetic market data, persistence, and calculations all live in this repository root. It does not require a companion service, paid data feed, Redis, or Composer at runtime.
Asteria is informational software. Synthetic data is not tradable market data, and analytics are not investment advice. Paper orders never leave the WordPress installation.
Implemented capabilities
- Responsive dark/light financial workspace with accessible navigation and RTL-aware styling.
- Deterministic synthetic quotes and daily OHLCV history across equity, rates, FX, commodity, and crypto examples.
- Per-user watchlists, paper portfolios, positions, cash accounting, and an order blotter.
- Transactional market and limit paper orders with ownership, quantity, notional, cash, position, and idempotency controls.
- Portfolio total return, volatility, Sharpe ratio, drawdown, historical VaR, and expected shortfall.
- Fixed-coupon bond, Black–Scholes–Merton option, and covered-interest-parity FX-forward calculations.
- Capability-protected WordPress REST APIs, local administration/health UI, WP-CLI provider health, migrations, and hash-chained audit events.
- Dependency-free bundled autoloading and deterministic tests.
The broader product roadmap is not represented as complete. See the requirements matrix and implementation report for exact status and limitations.
Requirements
- WordPress 6.5 or newer
- PHP 8.2 or newer
- MySQL 8.0 or MariaDB 10.6 or newer
- HTTPS for production installations
Composer and Node.js are development tools only; neither is needed to activate or use the plugin.
Installation
- Ensure this directory is named
asteria-financial-platform. - Copy it to
wp-content/plugins/, or ZIP the directory and upload it through Plugins → Add New → Upload Plugin. - Activate Asteria Financial Platform.
- Open Asteria in WordPress administration.
- Verify Asteria → System Health reports schema
2.0.0and a healthy local provider.
Activation creates dedicated prefixed tables and grants Asteria capabilities to the administrator role. Deactivation retains data. Uninstall removes capabilities; stored data is retained unless the asteria_delete_data_on_uninstall option was explicitly enabled before uninstalling.
See Installation for production guidance.
Repository structure
asteria-financial-platform.php WordPress plugin bootstrap
autoload.php bundled PSR-4 runtime loader
uninstall.php guarded uninstall routine
app/ domain, application, HTTP, admin, and infrastructure code
resources/css/ workstation styles
resources/js/ dependency-free workstation client
resources/schemas/ versioned JSON schemas
languages/ WordPress translation catalogs
docs/ architecture and operating documentation
tests/ deterministic unit/golden test harness
tools/ development utilities
The root layout is the plugin layout—there is no additional plugin/ directory.
Development
composer validate --strict
composer test
composer lint
node --check resources/js/workspace.js
The bundled autoload.php is what makes normal ZIP installations independent of Composer. Composer’s generated autoloader may be used locally but vendor/ is not part of the source distribution.
Documentation
- Architecture
- Security
- Data model
- REST API
- Providers
- Quantitative calculations
- Paper trading
- Testing
- Performance
- Development
License
GPL-2.0-or-later. See LICENSE.