Skip to content

reqCompletedOrders not working #281

@grixxie

Description

@grixxie

Hi,

I am using image ghcr.io/gnzsnz/tws-rdesktop:stable in a kubernetes cluster for my apps to talk to, this is working great.

I am recently writing code to call reqCompletedOrders, which pulls all filled or cancelled orders for the day. I am able to run this code successfully while my code is pointing to the TWS software on my local machine (config using port 7497), which returns me my completed orders as it should.

I then port-forward port 7499 (code changed to use this instead) to my local machine to run my code against ghcr.io/gnzsnz/tws-rdesktop:stable and it no longer works. I am able to connect to the client with this and perform other processes like placing orders, but reqCompletedOrders returns nothing! It is the same code that is running, same clientId that I'm using to connect, just pointing to a different port depending on the target!

Have you heard of this before? Or have any suggestions as to why this would be the case? I'm scrambling for ideas! Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions