Cody

Solution 1739173

Submitted on 28 Feb 2019 by Martin C.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
theoric=50; quoted=55; y_correct = 'short' assert(isequal(your_fcn_name(theoric,quoted),y_correct))

y_correct = 'short' y = 'short'

2   Pass
theoric=50; quoted=45; y_correct = 'buy' assert(isequal(your_fcn_name(theoric,quoted),y_correct))

y_correct = 'buy' y = 'buy'

3   Pass
theoric=65; quoted=64; y_correct = 'buy' assert(isequal(your_fcn_name(theoric,quoted),y_correct))

y_correct = 'buy' y = 'buy'

4   Pass
theoric=32; quoted=44; y_correct = 'short' assert(isequal(your_fcn_name(theoric,quoted),y_correct))

y_correct = 'short' y = 'short'

Suggested Problems

More from this Author12