Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 57
  1. #31
    somilshah
    Guest

    Default

    Hello Hassan,

    Can you us provide the web api in POST method so that we can work on it integrating with the Mobile Application.


    Looking forward for your reply.


    Many Thanks,
    Somil shah

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

    Default

    Hello,

    Can you please clarify what do you want exactly, I see that most functions already used the account ID

    please check the following sample...
    Code:
    ' Login with your credentials 
    http://159.253.137.70/webtrader/WebService.svc/Login?username=USER2556&password=GSVI
    ' Take 1 lot of silver(the symbol ID for silver is 10) with AccountID ("100126") which is belong to your client ("USER2556")
    http://159.253.137.70/webtrader/WebService.svc/NewOrder?AccountId=100126&Symbol=10&BuySell=1&lots=1
    to check if the order is taken, please login here.

  3. #33
    somilshah
    Guest

    Default

    Hello Hassan,

    Yes, I do agree when using these code to make command on the browser it works but when we add them to the application it does not work and provides as error due to the reason WCF API uses sessions/ cookies to store authentication and in term of application it is not possible to do this.

    As you would be aware once the authentication takes place in an application then only further commands are been passed like Requesting Quotes or Placing Order or Account Information.

    The method we are using now is Get Method can you provide us with the WCF API in POST method and their command too as provided now.


    I will look forward for your reply.


    Many Thanks,
    Somil Shah

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

    Default

    Hello,

    Please not that you have to use "GET" method.

  5. #35
    somilshah
    Guest

    Default

    Quote Originally Posted by Hassan-HS View Post
    Hello,

    Please not that you have to use "GET" method.

    Hello Hassan,

    Thank you for your reply once again, Can you please help us to know how do we store Sessions/ Cookes everytime when we make a new command using GET Method with the application we are developing on Andriod and Iphone.

    It there is alternative way using which we can use GET method and still get the application working please do explain.

    It would be great help if you could resolve this query of our.

    Looking forward for your reply.


    Many Thanks,
    Somil Shah

  6. #36
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello,

    Thank you for your reply once again, Can you please help us to know how do we store Sessions/ Cookes everytime when we make a new command using GET Method with the application we are developing on Andriod and Iphone.
    We can't help with this issue here, sorry. You'll need to contact mobile specialist for support.

  7. #37
    somilshah
    Guest

    Default

    Hello Hassan,

    We have got the Session / Cookies issues solved and everything seems to be working fine now.

    Can you please make a few more clarification for the screens we are building


    List of Symbols:

    ==> Got List of Symbols but,How to Differentiate Symbols Based on Favorites, Forex, Commodities, Indices, Equity CFDs - Hence we need to display by Instrument Type


    Get Quotes for All types of Instrumental Types and Favorites:

    ==> Please provide List of updated values for GetNewTick for Favorites, Forex, Commodities, Indices, Equity CFDs - by Separate.[Not Single Symbol - Need Bulk of symbols for Forex,Indices etc...]

    ==> How to add favorites to server - Need to Save Favorites Symbols of User


    NEWS

    ==> Can you provide sample news to display for both public and private.


    HISTORY

    ==> Please provide the Date format we need to send for getting history

    ==> Please provide summary of all Equity and P/L - values

    ==> Please provide summary of all Balance, P/L, Margin, Equity, Margin Level, Free Margin - values

  8. #38
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello,

    List of Symbols:
    ==> Got List of Symbols but,How to Differentiate Symbols Based on Favorites, Forex, Commodities, Indices, Equity CFDs - Hence we need to display by Instrument Type
    Get Quotes for All types of Instrumental Types and Favorites:

    ==> Please provide List of updated values for GetNewTick for Favorites, Forex, Commodities, Indices, Equity CFDs - by Separate.[Not Single Symbol - Need Bulk of symbols for Forex,Indices etc...]

    There is no methods already do this,however I will check the possibility of adding this feature.
    Any way I believe that you can make your own filtering according to list prepared in cooperation with the owner of the system.

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

    Default

    Hello,

    ==> How to add favorites to server - Need to Save Favorites Symbols of User
    You can do this client side using cookies or cache.

  10. #40
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello,


    NEWS

    ==> Can you provide sample news to display for both public and private.
    Get Public News documentation

    Get Private News documentation

    Code:
    http://159.253.137.70/webtrader/WebService.svc/GetPublicNews?
    http://159.253.137.70/webtrader/WebService.svc/GetPrivateNews?

  11. #41
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    ==> Please provide the Date format we need to send for getting history
    It must be in dd/MM/yyyy format.

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

    Default

    ==> Please provide summary of all Equity and P/L - values

    ==> Please provide summary of all Balance, P/L, Margin, Equity, Margin Level, Free Margin - values
    Please check this article.

  13. #43
    somilshah
    Guest

    Default

    Quote Originally Posted by Hassan-HS View Post
    Hello,






    There is no methods already do this,however I will check the possibility of adding this feature.
    Any way I believe that you can make your own filtering according to list prepared in cooperation with the owner of the system.


    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Hello Hassan,

    Thank you for your reply once again, can you please explain us at the moment as we can see in the application prepared by O-Sense they are also be able to add this feature and make the filtering as the broker have created their groups for symbols. We would like to do the same thing. We are sure you would have an idea what kind of filtering they have used and how they do this as we did a complete study of the services reply received by the reply for GetSymbol but unable to find a way but very much sure you can find a solution for us and help us to replicate the groups which are found on the desktop platform for each client could implemented on this mobile platform too..


    I will look forward for a positive and fast reply from you.



    Many Thanks,
    Somil Shah

  14. #44
    Administrator Hassan-HS's Avatar
    Join Date
    Jun 2013
    Posts
    795

    Default

    Hello,


    I can assure you that you can not apply this feature(If you mean that you want to build the tree of symbols) using the current version of the API.

    note that I will open a suggested feature ticket with this issue to our development team.

  15. #45
    stgh5768
    Guest

    Default

    thanks u for these infos...

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
  •