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

Dxfeed endpoint falls back to price endpoint #282

Merged
merged 1 commit into from
Feb 1, 2021
Merged

Conversation

justinkaseman
Copy link
Collaborator

@justinkaseman justinkaseman commented Feb 1, 2021

A hotfix to allow Dxfeeds to be used as price adapters with a mismatched endpoint param.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 1, 2021

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

@justinkaseman justinkaseman changed the title Dxfeed ednpoint falls back to price endpoint Dxfeed endpoint falls back to price endpoint Feb 1, 2021
Copy link

@SeaAnenome SeaAnenome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have tested both dxfeed and dxfeed-secondary adapters at this time. Both adapters function with "endpoint":"stock" specified as a parameter, now.

curl -s --header "Content-Type: application/json" --request POST --data '{"data":{"base":"TSLA","endpoint":"stock"}}' 127.0.0.1:3333
{"jobRunID":"1","data":{"result":794.15},"result":794.15,"statusCode":200}

@justinkaseman justinkaseman merged commit 279d94e into develop Feb 1, 2021
@justinkaseman justinkaseman deleted the hotfix/dxfeed branch February 1, 2021 20:56
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.

3 participants