Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 73fd108

Browse files
author
Aaron Imming
committed
Fix isNewTradeOption method by checking unit + symbol
1 parent ba95a57 commit 73fd108

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/botPage/bot/TradeEngine/Proposal.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,12 @@ export default Engine =>
138138

139139
return (
140140
isNotEqual('duration') ||
141+
isNotEqual('duration_unit') ||
141142
isNotEqual('amount') ||
142143
isNotEqual('prediction') ||
143144
isNotEqual('barrierOffset') ||
144-
isNotEqual('secondBarrierOffset')
145+
isNotEqual('secondBarrierOffset') ||
146+
isNotEqual('symbol')
145147
);
146148
}
147149
};

0 commit comments

Comments
 (0)