¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

reqPnL works every other time? times out with no response every other time? (Java)


 

I'm just trying to get the PnL for a single account. It seems to work every other time.

Has anyone else encountered something like this?

I'm using the apiController. I have just one account. I make sure to call cancelPnL after I get the response.
I thought maybe this on/off behavior indicated that maybe I had a listener hanging around, but I don't think that's the case. It should be cleaned up when I call cancelPnL.


 

On Fri, Apr 3, 2020 at 11:37 AM, <briforge@...> wrote:
I make sure to call cancelPnL after I get the response
You don't just request once at the start of the app? I seem to be having some trouble with this too.