Skip to content

Commit

Permalink
Merge pull request #4 from aaron-binary/duration-options-bug
Browse files Browse the repository at this point in the history
Fix isNewTradeOption method by checking unit + symbol
  • Loading branch information
Aaron committed May 28, 2019
1 parent 7c8b825 commit b43802a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,12 @@ export default Engine =>

return (
isNotEqual('duration') ||
isNotEqual('duration_unit') ||
isNotEqual('amount') ||
isNotEqual('prediction') ||
isNotEqual('barrierOffset') ||
isNotEqual('secondBarrierOffset')
isNotEqual('secondBarrierOffset') ||
isNotEqual('symbol')
);
}
};

0 comments on commit b43802a

Please sign in to comment.