Issue with Login

Created at 02 Apr 2018, 12:10
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ME

megha

Joined 11.12.2017

Issue with Login
02 Apr 2018, 12:10


Hello,


i have a problem, when i try to login for trading, 

Some time when i am using sendersub id tag57 is 'TRADE and some time is working fine
Server return an error "Target Sub is assigned with the unexcepted value 'TRADE' excepted 'QUOTE'"


i have a problem, when i try to login for trading, 

Some time when i am using sendersub id tag57 is 'QUOTE  and some time is working fine
Server return an error "Target Sub is assigned with the unexcepted value 'QUOTE' excepted 'TRADE'"

I want to login for both QUOTE and TRADE

And 
I have some more issue when i try to trading 
Server return "Invalid Msg Type<35>
tag value 35="D" for trade
Till now it iss working fine with same tag  value
Plesae Suggest me

Thank you


@megha
Replies

PanagiotisCharalampous
02 Apr 2018, 12:27

Hi megha,

In order to assist you further we will need the exact messages you send. Please share your messages with us and the ports you use to send each message so that we can check and let you know if there is anything wrong with the messages.

Best Regards,

Panagiotis


@PanagiotisCharalampous

megha
02 Apr 2018, 12:54

Hello,

 

Please find below the request and response message 

Request msg for trade login

8=FIX.4.49=11435=A49=icmarkets.330860756=cServer57=TRADE50=TRADE34=152=20180402-09:52:4298=0108=30553=3308607554=887710=200

 


Trade login

8=FIX.4.49=16435=534=149=cServer50=TRADE52=20180402-09:52:42.69656=icmarkets.330860757=TRADE58=TargetSubID is assigned with the unexpected value 'TRADE', expected 'QUOTE'10=245 

 

Please suggest me

thank you

                                          


@megha

PanagiotisCharalampous
02 Apr 2018, 12:57

Hi megha,

I also need the port to which you send this message.

Best Regards,

Panagiotis


@PanagiotisCharalampous

megha
02 Apr 2018, 13:03

Hello,
 

I have try to both port 5212 or 5211

Thaan You


@megha

megha
02 Apr 2018, 13:08

Hello,

 

Please find below the request and response message 

Request msg for trade login

8=FIX.4.49=11435=A49=icmarkets.330860756=cServer57=TRADE50=TRADE34=152=20180402-09:52:4298=0108=30553=3308607554=887710=200

 

if i use QUOTE instead of TRADE , it is working
Trade login

8=FIX.4.49=16435=534=149=cServer50=TRADE52=20180402-09:52:42.69656=icmarkets.330860757=TRADE58=TargetSubID is assigned with the unexpected value 'TRADE', expected 'QUOTE'10=245 

 

Please suggest me

thank you


@megha

megha
02 Apr 2018, 14:28

Hello

 

Please help me to solve this issue

Trade Login using tag 57="QUOTE"(SenderSubId)

8=FIX.4.49=11435=A49=icmarkets.330860756=cServer57=QUOTE50=TRADE34=152=20180402-11:26:3298=0108=30553=3308607554=887710=223

 

Trade Response
TRADE Login  8=FIX.4.49=9735=A34=149=cServer50=QUOTE52=20180402-11:26:33.26856=icmarkets.330860757=TRADE98=0108=3010=136                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Try to Sell                                                                                                                                                                                                    
8=FIX.4.49=13535=D49=icmarkets.330860756=cServer57=QUOTE50=TRADE34=252=20180402-11:26:3311=255=154=260=20180402-11:26:3338=100040=159=110=114

 

Response
8=FIX.4.49=12735=334=249=cServer50=QUOTE52=20180402-11:26:33.39456=icmarkets.330860757=TRADE45=258=Invalid MsgType <35>372=D373=1110=029  

 

Thank You


@megha

PanagiotisCharalampous
02 Apr 2018, 17:06

RE:

megha said:

Hello,

 

Please find below the request and response message 

Request msg for trade login

8=FIX.4.49=11435=A49=icmarkets.330860756=cServer57=TRADE50=TRADE34=152=20180402-09:52:4298=0108=30553=3308607554=887710=200

 

if i use QUOTE instead of TRADE , it is working
Trade login

8=FIX.4.49=16435=534=149=cServer50=TRADE52=20180402-09:52:42.69656=icmarkets.330860757=TRADE58=TargetSubID is assigned with the unexpected value 'TRADE', expected 'QUOTE'10=245 

 

Please suggest me

thank you

Hi megha,

Tag 50 is wrong, you should use your account id there.See below a correct login message

8=FIX.4.49=12135=A49=ctrader.317949656=CSERVER57=TRADE50=317949634=252=20180402-14:01:0298=0108=30553=3179496554=password10=148


@PanagiotisCharalampous

megha
03 Apr 2018, 11:21

Thank You


@megha