|
|
@@ -67,6 +67,7 @@ pub fn get_ticker_config_info(file_path: &str) -> TickerConfigInfo {
|
|
|
#[derive(Debug, Clone, Deserialize)]
|
|
|
pub struct BalanceConfigInfo {
|
|
|
pub is_export: bool,
|
|
|
+ pub is_total: bool,
|
|
|
pub proxy_address: String,
|
|
|
pub account_list: Vec<Vec<String>>,
|
|
|
pub exchanges: Vec<String>,
|
|
|
@@ -81,6 +82,7 @@ impl BalanceConfigInfo {
|
|
|
fn new() -> BalanceConfigInfo {
|
|
|
BalanceConfigInfo {
|
|
|
is_export: false,
|
|
|
+ is_total: true,
|
|
|
proxy_address: "".to_string(),
|
|
|
account_list: vec![],
|
|
|
exchanges: vec![],
|