Paper Trading GetAccountAsync() returns the wrong information

Was just messing around with Paper Trading and reset my account and changed my Equity.

When I went to run my application, which is really just the C# example it was still pulling my previous sessions Equity and Buying Power where I would have expected this to match up with the account values?

Reseting my API Keys then forced the expected data.

Is this expected behaviour or a bug?

https://alpaca.markets/docs/trading-on-alpaca/paper-trading/

Please make sure to re-generate the API key as the old key is associated with your old paper trading account and is not valid any longer after you reset it.

Needing to reset your API keys seems expected to access post-reset data. Being able to access your pre-reset data with the old keys seems to be unexpected behavior.

1 Like