New wren methods ticker_currency() and ticker_exchange()
This commit is contained in:
parent
6bd0dbb07e
commit
6cbe6ae47f
3 changed files with 57 additions and 8 deletions
|
@ -20,10 +20,17 @@
|
|||
#include "ticker_price.hpp"
|
||||
|
||||
namespace duck {
|
||||
enum class BitcoinityMatchType {
|
||||
Any,
|
||||
Exact,
|
||||
CurrencyOnly,
|
||||
ExchangeOnly
|
||||
};
|
||||
|
||||
TickerPrice bitcoinity_ticker_price (
|
||||
std::string_view exchange,
|
||||
std::string_view currency,
|
||||
bool exact_match
|
||||
BitcoinityMatchType match_type
|
||||
);
|
||||
|
||||
extern const std::string_view g_bitcoinity_wren_module;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue