I wrote a system using the basic Genesis API and recently got a demo account to test it. Unfortunatly things went a bit wrong from the off, with the program logging in successfully and receiving quotes but when my test strategy sent an order the gtbPlaceOrder() failed and returned -1. I tried passing all sorts of different arguments but it always fails no matter what I use.
After trying various things I remembered the demo program that came with the API so I thought Iâd see if that works. I built it and ran it and it ran into the exact same problem with gtbPlaceOrder() always failing, so if their program doesnât work then itâs unlikely to be a problem with the code but possibly with the account. Thereâs no .pdb with the debug .dll so I canât debug into it to see exactly why itâs failing so Iâm rather at a loss to what to do.
Has anyone tried their demo program at the below link and if so did it send orders correctly?
http://www.gndt.com/download/GTAPIB-1.0.0.28.ZIP
If anyone has a spare minute Iâd be grateful if you could download it, build it and run it with a demo account and tell me if it also fails for them. If you donât have a demo account PM me and Iâll let you know the login for the one I have been given.
The second issue I have is with the documentation - the names of the servers donât seem to be defined so I get a lot of unknown servers when I log in as you can see here:
http://i12.tinypic.com/2ns73gz.gif
Below is a screenshot of all the servers defined in the API header file:
http://i12.tinypic.com/2i05cuf.gif
As you can see in the below screenshot my function returns a name for all servers defined in the header file:
http://i12.tinypic.com/334rnmq.gif
Despite handling all defined servers Iâm still getting unknown servers. The documentation for the API doesnât even cover all the servers in the header file so thatâs no use:
http://i12.tinypic.com/2ahtxsn.jpg
Theyâre also not documented in the .chm that comes with the API and only the 28 that are defined in the header file are covered.
Does anybody know where the identity of these unknown servers is documented or if itâs documented at all?
One final question, as you can see when I log in I get no status report for the major ECNs like ARCA, INET, BRUT etc.
http://i12.tinypic.com/2ns73gz.gif
As you can see from the earlier screenshots there are defines for the major ECN servers so either these have changed and the ECNs are actually the unknown servers or Iâm simply not getting a report. Without this status report my program has no way of knowing if an ECN has gone offline which could result in me routing orders to an ECN that is having problems.
Iâd be very grateful for any advice you can offer me with any of these three issues. Thanks in advance.
After trying various things I remembered the demo program that came with the API so I thought Iâd see if that works. I built it and ran it and it ran into the exact same problem with gtbPlaceOrder() always failing, so if their program doesnât work then itâs unlikely to be a problem with the code but possibly with the account. Thereâs no .pdb with the debug .dll so I canât debug into it to see exactly why itâs failing so Iâm rather at a loss to what to do.
Has anyone tried their demo program at the below link and if so did it send orders correctly?
http://www.gndt.com/download/GTAPIB-1.0.0.28.ZIP
If anyone has a spare minute Iâd be grateful if you could download it, build it and run it with a demo account and tell me if it also fails for them. If you donât have a demo account PM me and Iâll let you know the login for the one I have been given.
The second issue I have is with the documentation - the names of the servers donât seem to be defined so I get a lot of unknown servers when I log in as you can see here:
http://i12.tinypic.com/2ns73gz.gif
Below is a screenshot of all the servers defined in the API header file:
http://i12.tinypic.com/2i05cuf.gif
As you can see in the below screenshot my function returns a name for all servers defined in the header file:
http://i12.tinypic.com/334rnmq.gif
Despite handling all defined servers Iâm still getting unknown servers. The documentation for the API doesnât even cover all the servers in the header file so thatâs no use:
http://i12.tinypic.com/2ahtxsn.jpg
Theyâre also not documented in the .chm that comes with the API and only the 28 that are defined in the header file are covered.
Does anybody know where the identity of these unknown servers is documented or if itâs documented at all?
One final question, as you can see when I log in I get no status report for the major ECNs like ARCA, INET, BRUT etc.
http://i12.tinypic.com/2ns73gz.gif
As you can see from the earlier screenshots there are defines for the major ECN servers so either these have changed and the ECNs are actually the unknown servers or Iâm simply not getting a report. Without this status report my program has no way of knowing if an ECN has gone offline which could result in me routing orders to an ECN that is having problems.
Iâd be very grateful for any advice you can offer me with any of these three issues. Thanks in advance.