Page 4 of 4 FirstFirst ... 234
Results 46 to 57 of 57
  1. #46
    somilshah
    Guest

    Default

    Hello Hassan,

    Thank you for the support for developing the application for our client.
    We have found an issue with one of the commands while testing the application and would like you help us on it.

    New Limit Order

    We used the above command link to place the order

    http://159.253.137.70/webtrader/WebService.svc/NewLimitOrder?AccountId=100120&SymID=AUDUSD&LimitT ype=BUY&Price=0.8636&lots=0.1&SL=0.8636&TP=0.8637

    Over here in this link once we did the log in and then placed this command but we found an error in the browser.
    Below was the login link we used - http://159.253.137.70/webtrader/WebS...&password=1234

    Once we placed the New Order command link the error in the window we found was below -

    {"ExceptionDetail":{"HelpLink":null,"InnerExceptio n":null,"Message":"Input string was not in a correct format.","StackTrace":" at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)\u000d\u000a at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)\u000d\u000a at System.ServiceModel.Dispatcher.QueryStringConverte r.ConvertStringToValue(String parameter, Type parameterType)\u000d\u000a at System.ServiceModel.Dispatcher.JsonQueryStringConv erter.ConvertStringToValue(String parameter, Type parameterType)\u000d\u000a at System.ServiceModel.Dispatcher.UriTemplateDispatch Formatter.DeserializeRequest(Message message, Object[] parameters)\u000d\u000a at System.ServiceModel.Dispatcher.CompositeDispatchFo rmatter.DeserializeRequest(Message message, Object[] parameters)\u000d\u000a at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.DeserializeInputs(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.InvokeBegin(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage5(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage41(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage4(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage3(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage2(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage11(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage1(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)","Type":"System.FormatExcep tion"},"ExceptionType":"System.FormatException","M essage":"Input string was not in a correct format.","StackTrace":" at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)\u000d\u000a at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)\u000d\u000a at System.ServiceModel.Dispatcher.QueryStringConverte r.ConvertStringToValue(String parameter, Type parameterType)\u000d\u000a at System.ServiceModel.Dispatcher.JsonQueryStringConv erter.ConvertStringToValue(String parameter, Type parameterType)\u000d\u000a at System.ServiceModel.Dispatcher.UriTemplateDispatch Formatter.DeserializeRequest(Message message, Object[] parameters)\u000d\u000a at System.ServiceModel.Dispatcher.CompositeDispatchFo rmatter.DeserializeRequest(Message message, Object[] parameters)\u000d\u000a at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.DeserializeInputs(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.InvokeBegin(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage5(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage41(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage4(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage3(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage2(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage11(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage1(MessageRpc& rpc)\u000d\u000a at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)"}


    It would be great if you could help us to understand the error as we did browse through all of the common errors but yet not able to find the correct way to do it.
    I request you to please send me the correct format in which we should submit the above link to place the order in the above account which we have sent you.

    I will look forward for you reply soon.
    Thank you
    Somil Shah

  2. #47
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello,

    You have to pass the variables as it's type, check the correct sample:

    Code:
    http://159.253.137.70/webtrader/WebService.svc/Login?username=MAE2&password=1234
    http://159.253.137.70/webtrader/WebService.svc/NewLimitOrder?AccountId=100120&SymID=6&LimitType=1&Price=1.24084&lots=0.1&SL=1&TP=3
    Last edited by Hassan-HS; 11-11-2014 at 03:57 PM.

  3. #48
    somilshah
    Guest

    Default

    Hello Hassan,

    Thank you very much for your quick reply, the link is working properly now I would like to know how did you get the Symbol ID we are quiet confused to get this as there are lot of symbols we can see approximately 200 plus symbols they have on their system.

    I will look forward for your reply.


    Thank you,
    Somil Shah

  4. #49
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    You are welcome,


    check this article please

  5. #50
    somilshah
    Guest

    Default

    Hi Hassan,

    Thank you for you reply. We have found another issue with our testing with the product we have developed.

    For all the three,

    Orders
    -----------
    1) New Limit Order

    2) New SLTP Order


    3) New Market Order


    When we try to pass the values like,


    http://159.253.137.70/webtrader/WebS...7.0&TP=36079.0



    We have tried with SL and TP with 0.00 as values.

    Error Code:
    -----------

    {"d":"\"-228\""}

    Most of the time we are facing this,Please let us know what this error means, how to avoid and to place new order.

    It would be good if you can guide us with the correct step to solve this issue and make the software workable as desired.

  6. #51
    somilshah
    Guest

    Default

    Hi Hassan,

    I am looking for reply for our doubts posted in our post yesterday.
    Request you to reply at the earliest possible.

    Many thanks,
    Somil Shah

  7. #52
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello,

    1) New Limit Order

    2) New SLTP Order
    -228 means that you sent an invalid price.


    3) New Market Order
    -228 means the dealer rejected your market order

  8. #53
    somilshah
    Guest

    Default

    Hi Hassan,

    We are having a new issue we are trying to close the TP and SL for an Order but we are getting and error - {"d":"\"-204\""} -- Error Code
    When we are trying to access using the link - http://159.253.137.70/webtrader/WebS...&OrderId=48309


    This is the AccountId=100119 & OrderId = 48309 / 48307

    Request you to help us to solve this error and understand it.

    I will look for your reply as soon as possible.


    Many Thanks,
    Somil Shah

  9. #54
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello Shah,

    To check the description of the errors code please visit this link http://www.hybrid-solutions.com/supp...icle/View/1964

  10. #55
    FIB109
    Guest

    Default

    Salut,Hassan!

  11. #56
    FIB109
    Guest

    Default

    Why i can't see my reply?





    ---------------------------------------------------------
    Accessoires Mobile
    etui iPhone 6

  12. #57
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello FIB ,

    Salut,Hassan!
    Sorry i thought it a spam, how may i help you bro

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •