Questions tagged [quantconnect]

18 questions
0
votes
0 answers

Trailing stop loss not functioning properly in C# - am I using lists wrong?

I am attempting to implement a trailing stop loss functionality in C# similar to what is described here: https://www.multicharts.com/trading-software/index.php/SetPercentTrailing Basically, if the profit rises over a certain amount and then drops…
0
votes
1 answer

Unable to restore nuget packages on VS17 and VS15

It is my first time ever working with Microsoft Visual Studio or .NET Frameworks. When I try building this solution (https://github.com/QuantConnect/Lean) for the first time - I tried both versions of the solution (VS17 and VS15) on their respective…
0
votes
1 answer

C# Characters changed when returning zip folder and file names

I am writing a script to loop over a range of dates, check whether each date is a valid trading day and check there is a corresponding folder and file name for each date. Quantconnect/Lean Githib repo for classes The issue I am having is that my…
3therk1ll
  • 2,056
  • 4
  • 35
  • 64
1
2