Commit graph

9 commits

Author SHA1 Message Date
a0cfc10fa2 Add thank-you note for blueagain from libera.chat 2022-05-14 08:00:13 +02:00
6cbe6ae47f New wren methods ticker_currency() and ticker_exchange() 2022-05-14 07:54:13 +02:00
6bd0dbb07e Split out wren code, add a ticker_quick() method 2022-05-14 07:42:34 +02:00
4121bb3c74 Small refactoring - pulling things out of main.cpp 2022-05-14 07:07:34 +02:00
d80908da4e Better comunication with Bitcoinity's websocket
I think I have to send 3 messages to the websocket
to initialise it. In response, it seems to send the last
ticker price reasonably quickly, compared to earlier
when it was just waiting for the next available transaction
before notifying me.
2022-05-14 06:58:49 +02:00
2016f19c3d Refactor WebsocketReader into a separate file 2022-05-13 23:46:34 +02:00
10fc605078 Meson wrap file for beast, remove git submodule 2022-05-13 23:31:04 +02:00
8f2a819ebe Query the websocket to get the correct value for the ticker 2022-05-13 23:11:01 +02:00
1d61cc7f2f First implementation
It seems to work but I think the ticker value returned
by the remote call is wrong. Maybe I'm calling the wrong
endpoint ¯\_(ツ)_/¯ I don't know trying to work it out
2022-05-12 23:40:27 +02:00