My code started showing an error two days ago for the following line:

Decimal remainingMargin = algorithm.Portfolio.GetMarginRemaining(target.Symbol, OrderDirection.Buy);

I am getting the following error:

"No overload for method 'GetMarginRemaining' takes two arguments"

This code has been live for a few weeks and I have not made changes to it, opening up other algorithms I have worked on I also see that same error, did something change a couple days ago?