Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError when plotting account performance using start-time parameter #172

Open
agu2a opened this issue Oct 16, 2024 · 1 comment
Open

Comments

@agu2a
Copy link

agu2a commented Oct 16, 2024

When I plot the performance of my account using time_back as parameter I can see the chart successfully.

HOWEVER, when I use a specific date instead is gives me this type error...
TypeError: string indices must be integers

I use the following code:
from_date = datetime(2024, 8, 28, 0, 0, 0)
nl = account.get_net_liquidating_value_history(session, start_time=from_date )

@Graeme22
Copy link
Contributor

Hey, thanks for opening this!

I did some digging and it looks like there's something wrong on with the Tastytrade API, so there's nothing the SDK can do to resolve this at this time, unfortunately! Maybe you could reach out to the support team and tell them that the endpoint is not working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants