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

Get price market into websocket #45

Open
enbplas11 opened this issue Oct 15, 2019 · 0 comments
Open

Get price market into websocket #45

enbplas11 opened this issue Oct 15, 2019 · 0 comments

Comments

@enbplas11
Copy link

Good, I have a problem, I am making Market type orders, what I do is first check the prices of the getAllPrices library and then proceed to place the order, but at that moment when I generate the order the price changes; I imagine that it happens because a call is made to RestApi and that takes a while that when generating the order the price change. I am now using webSocket, do you know where I can get the market price in the methods that are associated with the websocket?

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

No branches or pull requests

1 participant