|
|
@@ -36,7 +36,7 @@ pub fn format_account_info(data: serde_json::Value, symbol: String) -> Account {
|
|
|
pub fn handle_special_ticker(res_data: ResponseData) -> SpecialDepth {
|
|
|
let res_data_str = res_data.data;
|
|
|
let res_data_json: serde_json::Value = serde_json::from_str(&*res_data_str).unwrap();
|
|
|
- format_special_ticker(res_data_json, res_data.lable)
|
|
|
+ format_special_ticker(res_data_json, res_data.label)
|
|
|
}
|
|
|
|
|
|
pub fn format_special_ticker(data: serde_json::Value, label: String) -> SpecialDepth {
|
|
|
@@ -92,7 +92,7 @@ pub fn handle_order(res_data: ResponseData, amount_size: Decimal) -> SpecialOrde
|
|
|
order_info.push(format_order_item(item.clone(), amount_size));
|
|
|
}
|
|
|
SpecialOrder {
|
|
|
- name: res_data.lable,
|
|
|
+ name: res_data.label,
|
|
|
order: order_info,
|
|
|
}
|
|
|
}
|