Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Price Feed Modifiers #325

Closed
nikhilsaraf opened this issue Dec 30, 2019 · 0 comments
Closed

Price Feed Modifiers #325

nikhilsaraf opened this issue Dec 30, 2019 · 0 comments
Assignees
Labels
feature request New feature or request
Milestone

Comments

@nikhilsaraf
Copy link
Contributor

nikhilsaraf commented Dec 30, 2019

Desired Behavior

I want more control over what the price feed returns by adding the concept of modifiers.

Impact

The desired behavior will allow me to specify if I want to fetch the bid price, ask price, vwap, etc. from the price feed.

Feature Suggestion

we can achieve the desired behavior by adding a new (optional) part to the url field for exchanges taking on the values mid, ask, or bid.

Alternatively, we can achieve the desired behavior by adding a new (optional) field in the config file called DATA_FEED_A_MODIFIER and DATA_FEED_B_MODIFIER.

@nikhilsaraf nikhilsaraf added the feature request New feature or request label Dec 30, 2019
@nikhilsaraf nikhilsaraf added this to the v1.8.0 milestone Dec 30, 2019
@nikhilsaraf nikhilsaraf self-assigned this Dec 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant