Fix api connection

Python 다른 Python

작업 종료됨

실행 시간 13 일

명시

need a modification of python code to subscribe to instruments via fix api to receive market quotes.

now I don`t get any confirmation from server for some reason.


2025-01-21 12:52:49,157 - QuoteRelayServer - INFO - Loaded instruments: ['EURUSD', 'GBPUSD', 'XAUUSD']

2025-01-21 12:52:49,158 - QuoteRelayServer - INFO - Server started on 0.0.0.0:5555

2025-01-21 12:52:49,159 - QuoteRelayServer - INFO - Command server started on port 5556

2025-01-21 12:52:49,160 - FIXMarketDataAdapter - INFO - Testing connectivity to fix api server

2025-01-21 12:52:49,376 - FIXMarketDataAdapter - INFO - Connecting to FIX server at fix api server

2025-01-21 12:52:49,464 - FIXMarketDataAdapter - INFO - Sending logon message

2025-01-21 12:52:49,464 - FIXMarketDataAdapter - INFO - Preparing logon message

2025-01-21 12:52:49,464 - FIXMarketDataAdapter - DEBUG - Sending message: BeginString(8)=FIX.4.4 | BodyLength(9)=100 | MsgType(35)=A | SenderCompID(49)=username | TargetCompID(56)=FIX | MsgSeqNum(34)=1 | SendingTime(52)=20250121-12:52:49.464 | 98(98)=0 | 108(108)=30 | 141(141)=Y | 553(553)=742 | 554(554)=pw | CheckSum(10)=199

2025-01-21 12:52:49,548 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,548 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,549 - FIXMarketDataAdapter - DEBUG - Processing message type: A

2025-01-21 12:52:49,549 - FIXMarketDataAdapter - INFO - FIX session established

2025-01-21 12:52:49,549 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,550 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,550 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,550 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,551 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,551 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,551 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:49,552 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:52:50,574 - FIXMarketDataAdapter - INFO - Subscribing to market data

2025-01-21 12:52:50,575 - FIXMarketDataAdapter - INFO - Starting market data subscription for instruments: ['EURUSD', 'GBPUSD', 'XAUUSD']

2025-01-21 12:52:50,575 - FIXMarketDataAdapter - DEBUG - Subscription order: ['EURUSD(req:1)', 'GBPUSD(req:2)', 'XAUUSD(req:3)']

2025-01-21 12:52:50,576 - FIXMarketDataAdapter - DEBUG - Sending message: BeginString(8)=FIX.4.4 | BodyLength(9)=118 | MsgType(35)=V | SenderCompID(49)=username | TargetCompID(56)=FIX | MsgSeqNum(34)=2 | SendingTime(52)=20250121-12:52:50.576 | Symbol(55.0)=EURUSD | NoRelatedSym(146)=1 | MDReqID(262)=1 | SubscriptionRequestType(263)=1 | MarketDepth(264)=1 | MDUpdateType(265)=0 | NoMDEntryTypes(267)=2 | MDEntryType(269.0)=0 | MDEntryType(269.1)=1 | CheckSum(10)=253

2025-01-21 12:52:50,577 - FIXMarketDataAdapter - DEBUG - Sent MarketDataRequest for EURUSD: {'262': '1', '263': '1', '264': '1', '265': '0', '267': '2', '269.0': '0', '269.1': '1', '146': '1', '55.0': 'EURUSD'}

2025-01-21 12:53:00,677 - FIXMarketDataAdapter - WARNING - No confirmation received for EURUSD

2025-01-21 12:53:01,191 - FIXMarketDataAdapter - DEBUG - Sending message: BeginString(8)=FIX.4.4 | BodyLength(9)=118 | MsgType(35)=V | SenderCompID(49)=username | TargetCompID(56)=FIX | MsgSeqNum(34)=3 | SendingTime(52)=20250121-12:53:01.191 | Symbol(55.0)=GBPUSD | NoRelatedSym(146)=1 | MDReqID(262)=2 | SubscriptionRequestType(263)=1 | MarketDepth(264)=1 | MDUpdateType(265)=0 | NoMDEntryTypes(267)=2 | MDEntryType(269.0)=0 | MDEntryType(269.1)=1 | CheckSum(10)=226

2025-01-21 12:53:01,192 - FIXMarketDataAdapter - DEBUG - Sent MarketDataRequest for GBPUSD: {'262': '2', '263': '1', '264': '1', '265': '0', '267': '2', '269.0': '0', '269.1': '1', '146': '1', '55.0': 'GBPUSD'}

2025-01-21 12:53:09,621 - FIXMarketDataAdapter - DEBUG - Sending message: BeginString(8)=FIX.4.4 | BodyLength(9)=54 | MsgType(35)=0 | SenderCompID(49)=username | TargetCompID(56)=FIX | MsgSeqNum(34)=4 | SendingTime(52)=20250121-12:53:09.621 | CheckSum(10)=168

2025-01-21 12:53:09,704 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:09,704 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:09,705 - FIXMarketDataAdapter - DEBUG - Processing message type: 2

2025-01-21 12:53:09,705 - FIXMarketDataAdapter - INFO - Processing resend request: 0 to 0

2025-01-21 12:53:09,706 - FIXMarketDataAdapter - DEBUG - Sending message: BeginString(8)=FIX.4.4 | BodyLength(9)=65 | MsgType(35)=4 | SenderCompID(49)=username | TargetCompID(56)=FIX | MsgSeqNum(34)=5 | SendingTime(52)=20250121-12:53:09.706 | 36(36)=6 | 123(123)=Y | CheckSum(10)=189

2025-01-21 12:53:09,706 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:09,706 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:09,707 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:09,707 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:09,707 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:09,708 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:09,708 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:11,225 - FIXMarketDataAdapter - WARNING - No confirmation received for GBPUSD

2025-01-21 12:53:11,729 - FIXMarketDataAdapter - DEBUG - Sending message: BeginString(8)=FIX.4.4 | BodyLength(9)=118 | MsgType(35)=V | SenderCompID(49)=username | TargetCompID(56)=FIX | MsgSeqNum(34)=6 | SendingTime(52)=20250121-12:53:11.729 | Symbol(55.0)=XAUUSD | NoRelatedSym(146)=1 | MDReqID(262)=3 | SubscriptionRequestType(263)=1 | MarketDepth(264)=1 | MDUpdateType(265)=0 | NoMDEntryTypes(267)=2 | MDEntryType(269.0)=0 | MDEntryType(269.1)=1 | CheckSum(10)=003

2025-01-21 12:53:11,730 - FIXMarketDataAdapter - DEBUG - Sent MarketDataRequest for XAUUSD: {'262': '3', '263': '1', '264': '1', '265': '0', '267': '2', '269.0': '0', '269.1': '1', '146': '1', '55.0': 'XAUUSD'}

2025-01-21 12:53:21,772 - FIXMarketDataAdapter - WARNING - No confirmation received for XAUUSD

2025-01-21 12:53:22,278 - FIXMarketDataAdapter - DEBUG - Final sequence number set to 8

2025-01-21 12:53:25,237 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:25,238 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:25,238 - FIXMarketDataAdapter - DEBUG - Processing message type: 1

2025-01-21 12:53:25,238 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:25,239 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:25,239 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:25,239 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:25,240 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:25,240 - FIXMarketDataAdapter - DEBUG - Processing message type: None

2025-01-21 12:53:45,944 - FIXMarketDataAdapter - DEBUG - Sending message: BeginString(8)=FIX.4.4 | BodyLength(9)=54 | MsgType(35)=0 | SenderCompID(49)=username | TargetCompID(56)=FIX | MsgSeqNum(34)=8 | SendingTime(52)=20250121-12:53:45.944 | CheckSum(10)=180

2025-01-21 12:54:01,256 - FIXMarketDataAdapter - ERROR - Connection closed by server

2025-01-21 12:54:01,257 - FIXMarketDataAdapter - DEBUG - Sending message: BeginString(8)=FIX.4.4 | BodyLength(9)=54 | MsgType(35)=5 | SenderCompID(49)=username | TargetCompID(56)=FIX | MsgSeqNum(34)=9 | SendingTime(52)=20250121-12:54:01.256 | CheckSum(10)=175


응답함

1
개발자 1
등급
(390)
프로젝트
416
30%
중재
74
19% / 72%
기한 초과
52
13%
작업중
2
개발자 2
등급
(8)
프로젝트
11
0%
중재
8
25% / 63%
기한 초과
2
18%
작업중
비슷한 주문
HI there, Can anyone help to setup Oanda v20 account with VPS via REST API in Python? And later stage writing script for basic trading strategies such as trend following, Bolinger band or mean reversion etc. Thanks and kind regard, Aamir
I'm looking for a skilled Python developer to help expand and improve an existing Python game. The project is already functional, and I need someone who can add new features, improve gameplay mechanics, optimize performance, and maintain clean, well-structured code. Experience with game development in Python is preferred
{ "strategy_name": "M5 EMA Scalper", "timeframe": "M5", "indicators": { "ema_fast": 20, "ema_slow": 50, "rsi": 14, "atr": 14 }, "entry_rules": { "buy": [ "EMA20 > EMA50", "Price closes above EMA20", "RSI > 55" ], "sell": [ "EMA20 < EMA50", "Price closes below EMA20", "RSI < 45" ] }, "risk_management": { "risk_per_trade": 1.0, "stop_loss_atr": 1.5, "take_profit_rr": 2.0
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
EA 45 - 205 USD
If EMA20 > EMA50 AND RSI > 55 AND No Open Position THEN Buy SL = 50 pips TP = 100 pips If Profit > 30 pips Move SL to Break Even If Profit > 50 pips Enable Trailing Stop
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I need an Expert Advisor for MT5 on XAUUSD 1min timeframe using SMC concepts. STRATEGY RULES: SELL: 1. Identify previous day High/Low as liquidity 2. Entry only during London-NY session: 15:00-19:00 GMT+3 or broker clock. 3. If price sweeps previous day High and closes back below it 4. Check for bearish 1min FVG below sweep candle 5. Wait for BOS - lower low 6. Entry: Sell/buy at 50% of the FVG 7. SL: 10 pips above
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the

프로젝트 정보

예산
30 - 100 USD
기한
 1 일