n8n-nodes-fxcm
Version:
n8n node for FXCM trading integration
39 lines (38 loc) • 1.14 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.marketDataOperationFields = void 0;
exports.marketDataOperationFields = [
{
displayName: 'Operation',
name: 'operation',
type: 'options',
options: [
{
name: 'Get Current Price',
value: 'getCurrentPrice',
description: 'Get the current price for an instrument',
},
{
name: 'Get Historical Data',
value: 'getHistoricalData',
description: 'Get historical price data',
},
{
name: 'Subscribe to Price Updates',
value: 'subscribeToPrices',
description: 'Get real-time price updates',
},
],
default: 'getCurrentPrice',
noDataExpression: true,
required: true,
},
{
displayName: 'Instrument',
name: 'instrument',
type: 'string',
default: 'EUR/USD',
description: 'Trading instrument to get data for',
required: true,
},
];