This removes the PolygonSubscriptionPlan enum and adds functionality so that we rely on API responses to determine how to stream or fetch data depending on the account's permissions.
Related Issue
Motivation and Context
Not modeling Polygon's business logic.
Requires Documentation Change
How Has This Been Tested?
Existing tests
Integration testing by deploying live algorithms
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
This removes the
PolygonSubscriptionPlan
enum and adds functionality so that we rely on API responses to determine how to stream or fetch data depending on the account's permissions.Related Issue
Motivation and Context
Not modeling Polygon's business logic.
Requires Documentation Change
How Has This Been Tested?
Types of changes
Checklist:
bug-<issue#>-<description>
orfeature-<issue#>-<description>