Refactored types
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use pulse_wire::terminal::ActivePosition;
|
||||
use pulse_wire::general::Position;
|
||||
use tokio::{sync::Mutex, task::JoinHandle};
|
||||
|
||||
use crate::{
|
||||
@@ -90,7 +90,7 @@ impl Engine {
|
||||
state
|
||||
.asset_positions
|
||||
.into_iter()
|
||||
.map(|position| ActivePosition {
|
||||
.map(|position| Position {
|
||||
symbol: position.position.coin,
|
||||
size: position.position.szi.as_f64(),
|
||||
entry_price: position
|
||||
|
||||
Reference in New Issue
Block a user