Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1

    Default Need sample vb.net to start vertexboapi project

    hi,

    can you please provide a sample vb.net for the current version of vertexboapi. thanks in advance.

  2. #2
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Dear sir

    We are already providing a VB.net sample with API which you can find it under the following path (C:\Program Files\VertexFX Backoffice API) .

  3. #3

    Default

    I got the sample as you specified..

    i am not able to login with below mentioned param shown in the image. The application does not throw any exception either.
    I am using windows 10.


    Thanks in anticipation..Jay


    Click image for larger version. 

Name:	NOLOGIN.jpg 
Views:	8 
Size:	21.9 KB 
ID:	567

  4. #4

    Default

    The sample project does not login with my agile08 credentials.

    I am using windows 10 os.

    Pleas see the params:
    USER: JAY-ADMIN
    Server: 159.253.142.76
    port : 4401

  5. #5

    Default

    Hi sir..thanks for prompt help.

    I am trying to login but not able to login.
    I am using my actual credential of backoffice with server ip 159.253.142.76.
    The port is :4401

    The process does not throw an exception either.

    Click image for larger version. 

Name:	NOLOGIN.jpg 
Views:	10 
Size:	21.9 KB 
ID:	568

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

    Default

    Hello Jay,

    It seems you connect a wrong IP address. because the request timed out when pinging it.

    or you can get a demo dealer credentials to connect our demo server by applying this form. (please mention that you already an ISV)

  7. #7

    Default

    I already mentioned the ip address. It was given by your sales team. If its incorrect, pls mention the correct one. I use agile08 server and my user name for actual bo is JAY-ADMIN.

  8. #8
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Dear Jay

    The IP Address you use on the connection it is not our demo system IP address that given by our sales team , so double check with your dealing room to get the correct server IP .

  9. #9

    Default

    Hi sir,

    I have received the correct ip address and i am now able to connect as required.
    The issue is i am able to complete all functionalities like getting trades and adding money transactions but not able to edit the parameters.

    I have checked both ways, inherited/overridden still no help.

    Click image for larger version. 

Name:	PARAMNOTUPDATED.jpg 
Views:	23 
Size:	22.5 KB 
ID:	569

  10. #10
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Dear Jay

    To I can help you please sent your ISV agreement to me as a private message.

  11. #11

    Default

    I registered on the ISV form. From where can I find the agreement?

  12. #12
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Dear Jay

    Our ISV Moderator will reply to you through the ticket soon.

  13. #13
    Administrator Rawan-HS's Avatar
    Join Date
    Apr 2015
    Posts
    339

    Default

    Dear Jay

    Quote Originally Posted by jay.thakkar@gmail.com View Post
    Hi sir,

    I have received the correct ip address and i am now able to connect as required.
    The issue is i am able to complete all functionalities like getting trades and adding money transactions but not able to edit the parameters.

    I have checked both ways, inherited/overridden still no help.

    Click image for larger version. 

Name:	PARAMNOTUPDATED.jpg 
Views:	23 
Size:	22.5 KB 
ID:	569





    You have to know that you can find on our sample Trades and pending orders Tabs that contains the Selected account orders so if the select account not takes any order these lists will be empty .


    - To Get Trades and the pending order follow the this steps


    1- You have to call a SelectAccount method to get its data (trades or pending orders)
    2- After executing the selection two events will fire 1- OpenPositionsLoaded() and 2 - PendingOrdersLoaded() .
    3- When client takes a new position the OpenPositionAdded event fired.
    4- when clients takes a new order the NewPendingOrder event fired.


    - For Any Money Transaction
    - Call the MoneyTrans with the type of the Money Transaction
    - Wait the MoneyTransResultReceived event to fire


    Check the sample code


    Code:
          
    Public WithEvents BOAPI As CVertexFXBOAPI
    
    
    Private Sub MoneyTrans_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MoneyTrans.Click
    
    
        Dim vClient As COClient = BOAPI.ClientByIndex(1)
        Dim vAccount As COAccount = BOAPI.AccountByIndex(vClient.ClientID,1)
        Dim Result As CallingResultsEnum 
        Result = BOAPI.MoneyTrans.Deposit(vAccount.AccountID ,100,"Description","TransTag","UserDefinedDate") ' Change the UserDefinedDate to Date Time [optional value]
        MsgBox(Result) 
     End Sub

    - To edit the client Parameter


    - Call ChangeParam method with a parameter that you want to change it .
    - Then wait ChangeParamResult event to fire.




    For more Info Check the this article

  14. #14

    Default

    Thanks a million.

    Adding, i am not able to update any parameters or updateclosedorder inspite of passing proper params.
    my code is:


    Dim result As VertexFXBOAPI10.CallingResultsEnum
    result = BOAPI.UpdateClosedPosition(78612087, 2992891, 2, 393.6, 406.55, 1000, 10, 5000, "")
    MsgBox(result)

    I am getting 1 as output still the order does not get updated.


    I am using BOAPI version 10.5.78
    Is there any version issue or I am going wrong?
    Please help.

  15. #15

    Default

    How to get the clientid for which the below mentioned event fires.
    I want to get the clientid for which the AccountHistory is belonging to..

    Private Sub BOAPI_AccountHistoryReceived(ByRef AccountHistory As VBA.Collection) Handles BOAPI.AccountHistoryReceived

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unable to connect by C#.NET sample with VertexFX API
    By charusingla in forum VertexFX API/VTL Forum
    Replies: 3
    Last Post: 11-14-2017, 05:10 AM
  2. AccessViolationException at API.Login in VB.NET CLIENT API Sample
    By PavelK in forum VertexFX API/VTL Forum
    Replies: 3
    Last Post: 09-02-2017, 05:26 AM
  3. Unable to connect by VB.NET sample with VertexFX API
    By Alexander Sokhanych in forum VertexFX API/VTL Forum
    Replies: 12
    Last Post: 01-09-2014, 08:54 AM

Posting Permissions

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