You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I try to create a rule like:
var buyRule = Rule.Create(ic => ic.IsBelowBbLow(20,2)).And(c=>c.IsFullStoOversold(14,1,3)).And(c=>c.IsFullStoBullishCross(14,1,3));
I get an error:
System.InvalidCastException: '[A]Full cannot be cast to [B]Full. Type A originates from 'Trady.Analysis, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\System\Desktop\Trady-master\Trady.Test\bin\Debug\netcoreapp3.1\Trady.Analysis.dll'. Type B originates from 'Trady.Analysis, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\System\Desktop\Trady-master\Trady.Test\bin\Debug\netcoreapp3.1\Trady.Analysis.dll'.
It is caused when I use fullSto 2 times (for oversold and for bullishcross).
Is this a known issue, or am I missing something here? Who can help me?
[Could it be related to having a .net core project?]
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
when I try to create a rule like:
var buyRule = Rule.Create(ic => ic.IsBelowBbLow(20,2)).And(c=>c.IsFullStoOversold(14,1,3)).And(c=>c.IsFullStoBullishCross(14,1,3));
I get an error:
System.InvalidCastException: '[A]Full cannot be cast to [B]Full. Type A originates from 'Trady.Analysis, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\System\Desktop\Trady-master\Trady.Test\bin\Debug\netcoreapp3.1\Trady.Analysis.dll'. Type B originates from 'Trady.Analysis, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'D:\System\Desktop\Trady-master\Trady.Test\bin\Debug\netcoreapp3.1\Trady.Analysis.dll'.
It is caused when I use fullSto 2 times (for oversold and for bullishcross).
Is this a known issue, or am I missing something here? Who can help me?
[Could it be related to having a .net core project?]
Thanks!
The text was updated successfully, but these errors were encountered: