Universal Webhook
- Utilities
- Rubi Jihantoro
- Version: 1.0
Universal Webhook is utility to send MT5 ORDER and TRANSACTION event
Compatible with any Webhook Server
Features:
- Basic Auth Support
- Custom Authorization header support
- Custom Header Support
- Automatically Sends Webhook on OnTradeTransaction event.
- Automatically bring Trade Account information (configurable)
Specially made because of request from WebhookPrinter.com users, but feel free to use.
Sample Webhook Payload:
{ "event": "TRADE_TRANSACTION_ORDER_ADD", "account": [ { "account_login": 51963911, "account_trade_mode": "ACCOUNT_TRADE_MODE", "account_leverage": 1000, "account_limit_orders": 200, "account_margin_so_mode": "ACCOUNT_MARGIN_SO_MODE", "account_trade_allowed": true, "account_trade_expert": true, "account_margin_mode": "ACCOUNT_MARGIN_MODE", "account_currency_digits": 2, "account_fifo_close": false, "account_hedge_allowed": true, "account_balance": 20968.83, "account_credit": 0, "account_profit": -625.3, "account_equity": 20343.53, "account_margin": 1926.46, "account_margin_free": 18417.07, "account_margin_level": 1056.01, "account_margin_so_call": 100, "account_margin_so_so": 50, "account_margin_initial": 0, "account_margin_maintenance": 0, "account_assets": 0, "account_liabilities": 0, "account_commission_blocked": 0, "account_name": "name nama", "account_server": "ICMarketsSC-Demo", "account_currency": "USD", "account_company": "Raw Trading Ltd" } ], "order_ticket": 770086599, "order_time_setup": "2024.09.19 20:46:43", "order_type": "ORDER_TYPE_BUY", "order_state": "ORDER_STATE_STARTED", "order_time_expiration": "1970.01.01 00:00:00", "order_time_done": "1970.01.01 00:00:00", "order_time_setup_msc": 201950543, "order_time_done_msc": 0, "order_type_filling": "ORDER_FILLING_IOC", "order_type_time": "ORDER_TIME_GTC", "order_magic": 0, "order_reason": "ORDER_REASON_CLIENT", "order_position_id": 0, "order_position_by_id": 0, "order_volume_initial": 1, "order_volume_current": 1, "order_price_open": 0, "order_sl": 0, "order_tp": 0, "order_price_current": 1.32816, "order_price_stoplimit": 0, "order_symbol": "GBPUSD", "order_comment": "", "order_external_id": "" }