feat: ✨ add quote_asset to Ticker object
This commit is contained in:
parent
3f731d1d11
commit
4a8ea54f5d
@ -190,6 +190,7 @@ impl Default for RustlerOpts {
|
|||||||
pub struct Ticker {
|
pub struct Ticker {
|
||||||
pub symbol: String,
|
pub symbol: String,
|
||||||
pub market: String,
|
pub market: String,
|
||||||
|
pub quote_asset: Option<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Ticker {
|
impl Ticker {
|
||||||
@ -197,6 +198,7 @@ impl Ticker {
|
|||||||
Self {
|
Self {
|
||||||
symbol: t.symbol.clone(),
|
symbol: t.symbol.clone(),
|
||||||
market: m.short_name.clone(),
|
market: m.short_name.clone(),
|
||||||
|
quote_asset: t.quote_symbol.clone(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user