|
|
@@ -968,9 +968,7 @@ impl Quant {
|
|
|
match self.platform_rest.get_positions().await {
|
|
|
Ok(val)=>{
|
|
|
for position in val {
|
|
|
- info!("清仓-仓位信息:{:?}", position);
|
|
|
- info!("现行币对:{}", self.symbol);
|
|
|
- if position.symbol != self.symbol{
|
|
|
+ if !position.symbol.eq_ignore_ascii_case(self.symbol.as_str()){
|
|
|
continue;
|
|
|
}
|
|
|
match self.platform_rest.get_ticker().await {
|