Swap signals with strategy
This commit is contained in:
@@ -133,9 +133,7 @@ impl App for PulseTradeApp {
|
|||||||
),
|
),
|
||||||
(
|
(
|
||||||
LayoutItem::Widget(Size::Flex(1)),
|
LayoutItem::Widget(Size::Flex(1)),
|
||||||
Box::new(
|
Box::new(advanced_draw(&self.scroll, 2, "SIGNALS", &self.signals).await),
|
||||||
advanced_option_draw(&self.scroll, 2, "STRATEGY", &self.strategy).await,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
@@ -145,7 +143,9 @@ impl App for PulseTradeApp {
|
|||||||
SpacedColumns(vec![
|
SpacedColumns(vec![
|
||||||
(
|
(
|
||||||
LayoutItem::Widget(Size::Flex(1)),
|
LayoutItem::Widget(Size::Flex(1)),
|
||||||
Box::new(advanced_draw(&self.scroll, 3, "SIGNALS", &self.signals).await),
|
Box::new(
|
||||||
|
advanced_option_draw(&self.scroll, 3, "STRATEGY", &self.strategy).await,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
LayoutItem::Widget(Size::Flex(1)),
|
LayoutItem::Widget(Size::Flex(1)),
|
||||||
|
|||||||
Reference in New Issue
Block a user