Closed leordev closed 6 years ago
Subscribe to your private channel, the channel id is in your coinigy account settings -> Coinigy API -> Click to reveal my Private Channel ID (Websocket API)
@ByronAP thanks a lot for the above solution, it worked nicely.
Now, very similar to the same topic is that my favorite ticker is just bringing me the overall data and last price each minute.
It's okay but I still need two things: 1) The current bid and current ask.
2) To cut this time to at least every 20s.
The only solution that I'm thinking right now is to loop through all the favorites ticker and subscribe to the trade and order channels (ie.: TRADE-HITB--BCN--USD
and ORDER-HITB--BCN--USD
)
The TRADE
channel is nice because it gives me real time experience:
But as you can see it does not have the current bid and current ask. So that's why I need to subscribe to ORDER
channel which gives me 40 orders every 30 seconds.
So, do you have any other channel or option to TRADE
channel that could give me the current bid and ask? Also, is my way of thinking right?
Not at the moment no, sorry
I have this code:
And it's printing basically a bunch of exchanges and markets that I didn't bookmarked. Actually I have only two markets bookmarked... Is anyone having the same problem?