|
From: Fuad A. <fua...@gm...> - 2020-04-21 06:18:19
|
i think because when i got error when i want to try getexecution report
private void getExecutionReport(quickfix.Message message, String
tipeMessage) {
// TODO Auto-generated method stub
try {
String timestampasstring = message.getString(TransactTime.FIELD);
System.out.println(timestampasstring);
String[] timestampasstrings = timestampasstring.split(".", 0);
System.out.print(timestampasstrings[0]);
String timestamptostring = timestampasstrings[0];
System.out.print(timestamptostring);
i got error for split timestamp
Pada tanggal Sen, 20 Apr 2020 pukul 21.28 Philip Whitehouse <
ph...@wh...> menulis:
> QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> QuickFIX/J <http://www.quickfixj.org/documentation/QuickFIX/J> Support:
> http://www.quickfixj.org/support/
>
>
> fromApp is called once for every app message.
>
> I suspect the problem is not in this code fragment but the rest of your
> code
>
> Please provide a more complete computable example.
>
> Best,
>
> Philip Whitehouse
>
> > On 20 Apr 2020, at 15:05, Fuad Azhar <fua...@gm...> wrote:
> >
> > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/
> > QuickFIX/J Support: http://www.quickfixj.org/support/
> >
> >
> > hi all i have question i have set of list transaction for new order
> single using quickfixj fix42 format
> >
> > System.out.println(" FromApp " + message);
> > StringField msgType = message.getHeader().getField(new MsgType());
> > String msgTypeString = msgType.toString();
> > String[] msgTipe = msgTypeString.split("=", 0);
> > String TipeMessage = msgTipe[1];
> > System.out.println(" FromApp " + TipeMessage);
> >
> if(message.getHeader().getField(msgType).valueEquals("8")){
> > getExecutionReport(message,TipeMessage);
> > }
> > here my example code for get information about replay from my broker. in
> my console i only see one replay
> >
> > Message
> 8=FIX.4.29=35935=834=7943=Y49=Fastmatch152=20200420-13:54:09.68656=TRValueTrade2UAT1122=20200420-12:06:05.4016=1.2425911=FM11429214=311111.0015=GBP17=UX02:042020:01026855:B20=031=1.2425932=311111.0037=124206903838=311111.1139=140=P44=1.2481154=155=GBP/USD60=20200420-12:06:05.40164=2020042275=20200420150=1151=0.11375=BASF9200=S9300=6259500=010=232getExecutionReport
> 8
> > but in my log i got several replay from them.
> > like this one
> >
> 8=FIX.4.2^A9=359^A35=8^A34=79^A43=Y^A49=Fastmatch1^A122=20200420-12:06:05.401^A52=20200420-13:54:09.686^A56=TRValueTrade2UAT1^A20=0^A39=1^A150=1^A17=UX02:042020:01026855:B^A40=P^A55=GBP/USD^A54=1^A38=311111.11^A151=0.11^A14=311111.00^A32=311111.00^A31=1.24259^A6=1.24259^A64==20200422^A60=20200420-12:06:05.401^A75=20200420^A9200=S^A9300=625^A9500=0^A37=1242069038^A15=GBP^A44=1.24811^A375=BASF^A11=FM114292^A
> >
> 8=FIX.4.2^A9=359^A35=8^A34=90^A43=Y^A49=Fastmatch1^A122=20200420-12:06:05.415^A52=20200420-13:54:09.686^A56=TRValueTrade2UAT1^A20=0^A39=1^A150=1^A17=UX01:042020:04054405:S^A40=P^A55=EUR/JPY^A54=2^A38=266666.66^A151=0.66^A14=266666.00^A32=266666.00^A31=117.01500^A6=117.01500
> >
> > so my question is how to get all of the request from them ?because i
> need the data from them to insert to my database
> > _______________________________________________
> > Quickfixj-users mailing list
> > Qui...@li...
> > https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
>
>
> _______________________________________________
> Quickfixj-users mailing list
> Qui...@li...
> https://lists.sourceforge.net/lists/listinfo/quickfixj-users
>
|