Connect your funded MT4 or MT5 account to a clean REST API and a real-time WebSocket, on a dedicated server with a fixed IP your prop firm can whitelist. Trade from Python, Go, JavaScript, or any language.
https://159.89.245.100FxSocket is a MetaTrader API for prop trading. Connect your funded MT4 or MT5 account and drive it over a clean REST API and a real-time WebSocket, from Python, Go, JavaScript, or any language that speaks HTTP. No MQL, no Expert Advisor to compile.
import requests, asyncio, ssl, websockets
API = "https://159.89.245.100/8f2a1c04" # your server + account
KEY = "fxs_live_..."
# REST: read your prop account
requests.get(f"{API}/AccountSummary",
headers={"X-API-Key": KEY}, verify=False)
# WebSocket: stream ticks and order updates live
tls = ssl.create_default_context()
tls.check_hostname = False
tls.verify_mode = ssl.CERT_NONE
async def stream():
url = "wss://159.89.245.100/8f2a1c04/ws"
async with websockets.connect(f"{url}?api_key={KEY}", ssl=tls) as ws:
async for msg in ws:
print(msg)Prop firms and brokers let you trade from one approved address. Budget hosting hands you an IP that rotates and is shared with strangers. A private server pins one to you.
Latency is distance. Pick the region nearest your broker's server, whitelist your fixed IP once, and cut slippage on news spikes and scalping.
| What you get | Ordinary VPS | Private hosting |
|---|---|---|
| Runs 24/7 in the cloud | ✓ | ✓ |
| Fixed IP kept through reboots, resizes & rebuilds | ✕ | ✓ |
| Isolated machine, never shared with other traders | ✕ | ✓ |
| MT4 & MT5 ready to connect out of the box | ✕ | ✓ |
| Built-in REST + WebSocket API | ✕ | ✓ |
| Zero OS or terminal upkeep | ✕ | ✓ |
| Add, remove & resize accounts in a click | ✕ | ✓ |
Choose the datacenter nearest your broker and how many accounts the server should hold.
€17 for the first account, €14 for each additional. Card renews monthly and cancels any time; crypto is prepaid.
Your server and its fixed IP are live in 5 to 10 minutes. Whitelist the IP with your prop firm, then call the REST and WebSocket API with your API key.
One server, priced by the accounts on it. Billed separately from your plan.
Pay by card (renews monthly, cancel any time) or prepay with crypto. Private hosting never uses one of your plan's account seats, and you do not need a paid plan to run it.
Get REST and WebSocket API access to your funded MT4 or MT5 account, on a dedicated server with a fixed IP your prop firm can whitelist.