Fixes bug in SecurityMarginModel.GetMarginRemaining
Fixes bug in SecurityMarginModel.GetMarginRemaining

when switching positions from long to short and viceversa

devalkeralia/Lean,Mendelone/forex_trading,AlexCatarino/Lean,jameschch/Lean,mabeale/Lean,squideyes/Lean,jameschch/Lean,Phoenix1271/Lean,tomhunter-gh/Lean,squideyes/Lean,Phoenix1271/Lean,kaffeebrauer/Lean,AlexCatarino/Lean,JKarathiya/Lean,QuantConnect/Lean,andrewhart098/Lean,FrancisGauthier/Lean,QuantConnect/Lean,AnObfuscator/Lean,jameschch/Lean,AnObfuscator/Lean,redmeros/Lean,bizcad/Lean,redmeros/Lean,tomhunter-gh/Lean,tomhunter-gh/Lean,Jay-Jay-D/LeanSTP,JKarathiya/Lean,mabeale/Lean,FrancisGauthier/Lean,bizcad/Lean,devalkeralia/Lean,Phoenix1271/Lean,StefanoRaggi/Lean,devalkeralia/Lean,AnObfuscator/Lean,andrewhart098/Lean,AlexCatarino/Lean,young-zhang/Lean,FrancisGauthier/Lean,AnshulYADAV007/Lean,young-zhang/Lean,redmeros/Lean,devalkeralia/Lean,squideyes/Lean,bizcad/Lean,andrewhart098/Lean,QuantConnect/Lean,Jay-Jay-D/LeanSTP,young-zhang/Lean,mabeale/Lean,kaffeebrauer/Lean,StefanoRaggi/Lean,mabeale/Lean,AnshulYADAV007/Lean,FrancisGauthier/Lean,jameschch/Lean,Jay-Jay-D/LeanSTP,Mendelone/forex_trading,JKarathiya/Lean,StefanoRaggi/Lean,StefanoRaggi/Lean,bizcad/Lean,QuantConnect/Lean,Mendelone/forex_trading,AlexCatarino/Lean,young-zhang/Lean,AnshulYADAV007/Lean,AnshulYADAV007/Lean,kaffeebrauer/Lean,AnshulYADAV007/Lean,redmeros/Lean,jameschch/Lean,tomhunter-gh/Lean,kaffeebrauer/Lean,squideyes/Lean,Mendelone/forex_trading,StefanoRaggi/Lean,andrewhart098/Lean,Phoenix1271/Lean,Jay-Jay-D/LeanSTP,AnObfuscator/Lean,kaffeebrauer/Lean,Jay-Jay-D/LeanSTP,JKarathiya/Lean