Package Information
Released: 12/28/2024
Downloads: 0 weekly / 8 monthly
Latest Version: 1.0.1
Author: ofekbh
Documentation
n8n-nodes-fxcm
This is an n8n community node for FXCM trading integration. It provides functionality for automated trading, market data access, and account management through FXCM's Trading Station.
Features
- Real-time market data streaming
- Place market and limit orders
- Manage trading positions
- Account information and history
- WebSocket connection for real-time updates
Installation
In n8n:
- Go to Settings > Community Nodes
- Click on "Install a community node"
- Enter
n8n-nodes-fxcm
- Click "Install"
Manual Installation:
npm install n8n-nodes-fxcm
Configuration
Get your FXCM API credentials:
- Create an FXCM account
- Generate API Token from Trading Station
- Note your Trading Station ID
In n8n:
- Go to Credentials
- Create new credential of type "FXCM API"
- Enter your API Token and Trading Station ID
- Select account type (Demo/Live)
Usage Examples
Place Market Order
{
"resource": "trading",
"operation": "placeMarketOrder",
"instrument": "EUR/USD",
"orderType": "buy",
"amount": 1000,
"stopLoss": 1.1000,
"takeProfit": 1.1200
}
Get Market Data
{
"resource": "marketData",
"operation": "getCurrentPrice",
"instrument": "EUR/USD"
}
Support & Contribution
- Create issues for bugs or feature requests
- Pull requests are welcome
- Documentation improvements are appreciated