{"repo":"danielgroen/dxtrade-api","free":true,"listed":false,"github":"https://github.com/danielgroen/dxtrade-api","clone":"git clone https://github.com/danielgroen/dxtrade-api.git","description":"Unofficial Node.js client for the DXtrade trading API with full TypeScript support.","language":"TypeScript","stars":10,"topics":["algo","algotrading","api","dxtrade","dxtrade-api","js","nodejs","trading","cfd","crypto"],"license":null,"category":"trading","readme_excerpt":"DXtrade API Unofficial Node.js client for the DXtrade trading API with full TypeScript support. Connect, trade, and manage positions on any broker that supports DXtrade. Install Features - [x] Authentication & session management - [x] Submit orders (market, limit, stop) - [x] Get & cancel orders - [x] Positions (get, close, close all) - [x] Position metrics (per-position P&L) - [x] Account metrics, trade journal & trade history - [x] Symbol search & instrument info - [x] OHLC / price bar data (one-shot & streaming) - [x] PnL assessments - [x] Multi-broker support (FTMO, Eightcap, Lark Funding) - [x] Persistent WebSocket with connect() - [x] Real-time position streaming - [x] Full TypeScript support - [ ] Batch orders - [ ] Modify existing orders - [x] Real-time OHLC streaming Quick Start Connection Modes Configuration Option Type Required Description --- --- --- --- username string Yes DXtrade account username password string Yes DXtrade account password broker string Yes Broker identifier (e.g. \"LARKFUNDING\" , \"EIGHTCAP\" ) accountId string No Account ID to auto-switch after login brokerUrls Record No Custom broker URL mapping retries number No Retry count for failed requests (default: 3) debug boolean \\ string No Enable debug logging ( true for all, or a WS message type to filter) callbacks DxtradeCallbacks No Event callbacks Built-in Brokers API Session - client.connect() — Auth + persistent WebSocket. Recommended for most use cases. - client.auth() — Lightweight: login, fe","default_branch":null,"files":null,"tree":[],"storefront":"/r/danielgroen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danielgroen/dxtrade-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}