TradingSessionStatusRequest for FXCM failed
I'm developing for FXCM with quickfixgo. In onLogon I called this, but it seems session.verify do not accept the response from FXCM. I'm investgating this issue, also if anyone could help me go out of this bug I'm so appreciate.
func (client *Client) getTradingStatus(sessionID *quickfix.SessionID) { req := tradingsessionstatusrequest.New(field.TradSesReqIDField{quickfix.FIXString("1")}, field.SubscriptionRequestTypeField{FIXString: quickfix.FIXString(enum.SubscriptionRequestType_SNAPSHOT)}) req.Body.SetString(tag.TradingSessionID, "FXCM") quickfix.SendToTarget(&req, *sessionID) }
the response from FXCM should be OK, else there should be a huge number of clients could have blamed this to FXCM thousand times.
8=FIX.4.49=1232235=h34=249=FXCM50=GBDEMO52=20190301-15:34:21.29156=D25706581_client158=Market is closed. Trading operations are disabled.Not in use for now60=20190301-15:34:21.288325=N335=1336=FXCM339=2340=2625=GBDEMO9019=09030=Coordinated Universal Time146=6755=USOil15=USD228=1231=10460=2561=19000=20019001=39002=0.019003=09004=09005=20019076=T9080=39090=09091=09092=09093=09094=50009095=19096=O55=NZD/CAD15=NZD228=1231=1460=4561=19000=919001=59002=0.00019003=-0.01439004=-0.02349005=919076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=AUD/JPY15=AUD228=1231=1460=4561=19000=179001=39002=0.019003=0.13749004=-0.33159005=11509076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=EUR/CAD15=EUR228=1231=1460=4561=19000=159001=59002=0.00019003=-0.70849004=0.32479005=159076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=USD/ZAR15=USD228=1231=1460=4561=19000=479001=59002=0.00019003=-1.15019004=0.53099005=479076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=AUS20015=AUD228=1231=0.1460=7561=19000=10019001=29002=19003=-0.135725629004=-0.015080629005=10019076=D9080=29090=09091=09092=09093=09094=20009095=19096=O55=UKOil15=USD228=1231=10460=2561=19000=20029001=39002=0.019003=09004=09005=20029076=D9080=39090=09091=09092=09093=09094=50009095=19096=O55=EUR/NOK15=EUR228=1231=1460=4561=19000=369001=59002=0.00019003=-0.47889004=0.16319005=369076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=NGAS15=USD228=1231=100460=2561=19000=20159001=49002=0.0019003=09004=09005=2015009076=D9080=39090=09091=09092=09093=09094=1009095=19096=O55=EUR/AUD15=EUR228=1231=1460=4561=19000=149001=59002=0.00019003=-0.62689004=0.27729005=149076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=USD/HKD15=USD228=1231=1460=4561=19000=509001=59002=0.00019003=0.15339004=-0.43279005=509076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=EUSTX5015=EUR228=1231=0.1460=7561=19000=10359001=29002=19003=-0.06032259004=-0.067862819005=1035009076=D9080=29090=09091=09092=09093=09094=50009095=19096=O55=GBP/CAD15=GBP228=1231=1460=4561=19000=209001=59002=0.00019003=-0.3959004=0.18289005=209076=V9080=19090=09091=09092=09093=09094=500000009095=19096=O55=USD/CAD15=USD228=1231=1460=4561=19000=79001=59002=0.00019003=0.10659004=-0.23869005=17509076=T9080=19090=09091=09092=09093=09094=500000009095=19096=O55=GER3015=EUR228=1231=0.1460=7561=19000=10049001=29002=19003=-0.218669069004=-0.233749689005=6509076=T9080=29090=09091=09092=09093=09094=70009095=19096=O55=CAD/CHF15=CAD228=1231=1460=4561=19000=909001=59002=0.00019003=0.25539004=-0.55289005=909076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=USD/TRY15=USD228=1231=1460=4561=19000=839001=59002=0.00019003=-6.6639004=2.29359005=839076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=EUR/TRY15=EUR228=1231=1460=4561=19000=879001=59002=0.00019003=-9.41189004=2.86679005=879076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=Copper15=USD228=1231=100460=2561=19000=10169001=49002=0.0019003=09004=09005=1016009076=D9080=39090=09091=09092=09093=09094=5009095=19096=O55=HKG3315=HKD228=1231=1460=7561=19000=10059001=29002=19003=-1.048103429004=-0.211128759005=10059076=D9080=29090=09091=09092=09093=09094=3009095=19096=C55=GBP/AUD15=GBP228=1231=1460=4561=19000=229001=59002=0.00019003=-0.30969004=0.11339005=18509076=D9080=19090=09091=09092=09093=09094=2000009095=19096=O55=ETH/USD15=USD228=1231=0.1460=12561=19000=80039001=29002=19003=-0.021112879004=0.006786289005=80039076=D9080=99090=09091=09092=09093=09094=10009095=19096=O55=NAS10015=USD228=1231=0.1460=7561=19000=10089001=29002=19003=-0.248830319004=-0.015080629005=10089076=T9080=29090=09091=09092=09093=09094=50009095=19096=O55=EUR/CHF15=EUR228=1231=1460=4561=19000=59001=59002=0.00019003=0.05819004=-0.12239005=14509076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=TRY/JPY15=TRY228=1231=1460=4561=19000=989001=39002=0.019003=0.61559004=-1.34049005=989076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=AUD/NZD15=AUD228=1231=1460=4561=19000=289001=59002=0.00019003=-0.089004=0.02879005=289076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=XAU/USD15=USD228=1231=1460=2561=19000=40019001=29002=0.019003=-0.063947829004=-0.007993489005=1509076=T9080=59090=09091=09092=09093=09094=500000009095=19096=O55=USD/CHF15=USD228=1231=1460=4561=19000=49001=59002=0.00019003=0.44719004=-0.95539005=12509076=T9080=19090=09091=09092=09093=09094=500000009095=19096=O55=FRA4015=EUR228=1231=0.1460=7561=19000=10039001=29002=19003=-0.098024069004=-0.105564379005=7509076=T9080=29090=09091=09092=09093=09094=50009095=19096=O55=NZD/JPY15=NZD228=1231=1460=4561=19000=199001=39002=0.019003=0.16549004=-0.39199005=199076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=USD/MXN15=USD228=1231=1460=4561=19000=389001=59002=0.00019003=-1.76189004=0.68879005=389076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=AUD/USD15=AUD228=1231=1460=4561=19000=69001=59002=0.00019003=-0.22059004=0.10729005=13509076=T9080=19090=09091=09092=09093=09094=500000009095=19096=O55=USDOLLAR15=USD228=1231=1460=12561=19000=10589001=09002=19003=0.226554459004=-0.483316159005=4509076=D9080=79090=19091=19092=19093=19094=100009095=19096=O55=CHN5015=USD228=1231=0.1460=7561=19000=10209001=29002=19003=-0.444878439004=0.007540319005=10209076=D9080=29090=09091=09092=09093=09094=1009095=19096=O55=ESP3515=EUR228=1231=0.1460=7561=19000=10029001=29002=19003=-0.18096759004=-0.188507819005=10029076=D9080=29090=129091=19092=129093=19094=50009095=19096=O55=EUR/NZD15=EUR228=1231=1460=4561=19000=409001=59002=0.00019003=-0.73259004=0.31949005=409076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=ZAR/JPY15=ZAR228=1231=1460=4561=19000=719001=39002=0.019003=0.06499004=-0.1519005=719076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=GBP/CHF15=GBP228=1231=1460=4561=19000=139001=59002=0.00019003=0.28179004=-0.5779005=139076=V9080=19090=09091=09092=09093=09094=500000009095=19096=O55=NZD/USD15=NZD228=1231=1460=4561=19000=89001=59002=0.00019003=-0.12849004=0.06349005=16509076=T9080=19090=09091=09092=09093=09094=500000009095=19096=O55=USD/JPY15=USD228=1231=1460=4561=19000=29001=39002=0.019003=0.34749004=-0.75829005=9509076=T9080=19090=09091=09092=09093=09094=500000009095=19096=O55=GBP/NZD15=GBP228=1231=1460=4561=19000=219001=59002=0.00019003=-0.42979004=0.17829005=219076=D9080=19090=09091=09092=09093=09094=2000009095=19096=O55=SPX50015=USD228=1231=1460=7561=19000=10109001=29002=0.19003=-0.987780929004=-0.067862819005=10109076=D9080=29090=09091=09092=09093=09094=100009095=19096=O55=CHF/JPY15=CHF228=1231=1460=4561=19000=129001=39002=0.019003=-0.21679004=0.09149005=129076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=UK10015=GBP228=1231=0.1460=7561=19000=10129001=29002=19003=-0.226209379004=-0.098024069005=3509076=T9080=29090=09091=09092=09093=09094=40009095=19096=O55=CORNF15=USD228=1231=1460=2561=19000=20219001=29002=0.19003=09004=09005=20219076=T9080=39090=09091=09092=09093=09094=20009095=19096=O55=EUR/USD15=EUR228=1231=1460=4561=19000=19001=59002=0.00019003=-0.95839004=0.45319005=19076=T9080=19090=09091=09092=09093=09094=500000009095=19096=O55=SOYF15=USD228=1231=1460=2561=19000=20039001=29002=0.19003=09004=09005=20039076=D9080=39090=39091=39092=39093=39094=20009095=19096=O55=WHEATF15=USD228=1231=1460=2561=19000=20209001=29002=0.19003=09004=09005=20209076=T9080=39090=09091=09092=09093=09094=20009095=19096=O55=GBP/USD15=GBP228=1231=1460=4561=19000=39001=59002=0.00019003=-0.68879004=0.31499005=2509076=T9080=19090=09091=09092=09093=09094=500000009095=19096=O55=EUR/JPY15=EUR228=1231=1460=4561=19000=109001=39002=0.019003=-0.12319004=0.05069005=8509076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=AUD/CHF15=AUD228=1231=1460=4561=19000=399001=59002=0.00019003=0.20699004=-0.45319005=399076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=XAG/USD15=USD228=50231=1460=2561=19000=40029001=39002=0.019003=-0.007993489004=-0.00159879005=5509076=T9080=59090=09091=09092=09093=09094=500000009095=19096=O55=EUR/GBP15=EUR228=1231=1460=4561=19000=99001=59002=0.00019003=-0.37769004=0.1799005=15509076=V9080=19090=09091=09092=09093=09094=500000009095=19096=O55=US3015=USD228=1231=0.1460=7561=19000=10139001=29002=19003=-0.919918119004=-0.06032259005=19509076=T9080=29090=09091=09092=09093=09094=40009095=19096=O55=GBP/JPY15=GBP228=1231=1460=4561=19000=119001=39002=0.019003=0.14129004=-0.31269005=10509076=V9080=19090=09091=09092=09093=09094=500000009095=19096=O55=NZD/CHF15=NZD228=1231=1460=4561=19000=899001=59002=0.00019003=0.23269004=-0.51359005=899076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=LTC/USD15=USD228=1231=1460=12561=19000=80049001=29002=0.019003=-0.070124919004=0.022620949005=80049076=D9080=99090=09091=09092=09093=09094=10009095=19096=O55=USD/NOK15=USD228=1231=1460=4561=19000=379001=59002=0.00019003=0.1799004=-0.51589005=379076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=US200015=USD228=1231=1460=7561=19000=10609001=29002=0.19003=-0.557983129004=-0.037701569005=10609076=T9080=29090=09091=09092=09093=09094=50009095=19096=O55=CAD/JPY15=CAD228=1231=1460=4561=19000=189001=39002=0.019003=0.19119004=-0.4079005=189076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=BTC/USD15=USD228=1231=0.01460=12561=19000=80019001=29002=19003=-0.058814449004=0.018850789005=80019076=D9080=99090=09091=09092=09093=09094=5009095=19096=O55=AUD/CAD15=AUD228=1231=1460=4561=19000=169001=59002=0.00019003=-0.08619004=0.02959005=169076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=Bund15=EUR228=1231=10460=6561=19000=30019001=39002=0.019003=09004=09005=3001009076=D9080=49090=59091=19092=59093=19094=5009095=19096=O55=USD/SEK15=USD228=1231=1460=4561=19000=309001=59002=0.00019003=0.29159004=-0.92219005=309076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=EUR/SEK15=EUR228=1231=1460=4561=19000=329001=59002=0.00019003=-0.04239004=0.0069005=329076=D9080=19090=09091=09092=09093=09094=500000009095=19096=O55=USD/CNH15=USD228=1231=1460=4561=19000=1059001=59002=0.00019003=0.0349004=-0.31579005=7999076=T9080=19090=09091=09092=09093=09094=2000009095=19096=O55=JPN22515=JPY228=10231=1460=7561=19000=10079001=29002=19003=-0.037701569004=-0.030161259005=10079076=T9080=29090=259091=19092=259093=19094=10009095=19096=O9016=179017=TP_1729018=Y9017=FixSupport9018=FIXONLY9017=EXT_PRICE_TERMINAL9018=PDEMO_PRICES9017=SERVER_TIME_UTC9018=UTC9017=BASE_UNIT_SIZE9018=100009017=BASE_TIME_ZONE9018=Europe/London9017=UNLIMITED_CCY_SUBSCRIPTION9018=Y9017=BASE_CRNCY_PRECISION9018=29017=COND_DIST_ENTRY9018=0.19017=REPORTS_URL9018=https://fxpa2demo.fxcorporate.com/fxpa/getreport.app/9017=COND_DIST9018=0.19017=TRAILING_STOP_DYNAMIC9018=Y9017=BASE_CRNCY9018=GBP9017=TP_949018=Y9017=BASE_CRNCY_SYMBOL9018=�9017=END_TRADING_DAY9018=22:00:009017=TRAILING_STOP_USED9018=Y10=243