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

Fix realtime unittest #125

Merged
merged 6 commits into from
May 16, 2024
Merged

Fix realtime unittest #125

merged 6 commits into from
May 16, 2024

Conversation

mlouielu
Copy link
Owner

Fix realtime unittest.

Over the past seven years, the price of 2330 has increased from 215 to 850. This error from the unit test is quite humorous:

>       self.assertEqual(
            s["realtime"]["best_bid_price"],
            ["214.00", "213.50", "213.00", "212.50", "212.00"],
        )
E       AssertionError: Lists differ: ['848.0000', '847.0000', '846.0000', '845.0000', '844.0000'] != ['214.00', '213.50', '213.00', '212.50', '212.00']

I hope everyone earned money from the stock market.

@mlouielu mlouielu merged commit 4fbd20d into dev May 16, 2024
15 checks passed
@mlouielu mlouielu deleted the fix-realtime-unittest branch May 16, 2024 03:32
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

Successfully merging this pull request may close these issues.

None yet

1 participant