Dinosaur Technology and Trading » Dinosaur Technology and Trading

reqids

(3 posts)

Tags:


  1. swampy
    Member

    Hi,
    Thanks for the API first.

    I have a ? requarding reqids(int). It appears to not work as it is declared as void vise int to return a value. I can make an order number up but I like to req 1000 orders and then just keep bumping my number till I have used them and then repeat.

    ids are good for one time only not just the current api session.

    I would recommend you just update the function to the socket call. Sorry I am not a C# guy. Stopped c++ 10 years ago so it is still in the cob webs. I am using vb.net for my trading UI

    Thanks again

    Posted 8 months ago #
  2. You don't get the next ID immediately. You need to subscribe to the NextValidId event to listen for it. The number of IDs requested is ignored. Once you get the NextValidId event, you can just keep adding one to it every time you use an ID.

    Posted 8 months ago #
  3. swampy
    Member

    Thanks for the help. I knew that but some how forgot that:)

    Thanks

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.