Cody

Solution 1367882

Submitted on 4 Dec 2017 by Erik Luiten
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'

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'