Commit Graph

68 Commits

Author SHA1 Message Date
Stefano Raggi 74cdc4a767 Revert "Update FxcmBrokerage for TLS 1.2 support" 2019-06-18 18:03:12 +02:00
Stefano Raggi ca60e1c03b Update FxcmBrokerage for TLS 1.2 support
These changes are required to connect and receive data properly since the TLS 1.2 server upgrade on 6/16/2019. This also required upgrading the IKVM libraries for C#/Java interop.
2019-06-18 15:40:49 +02:00
Stefano Raggi a8d6f05825 Refactor and add error handling in OS class 2019-01-10 21:24:22 +01:00
Andrew e116709b24 Specify <LangVersion> of 6 in all csproj files 2017-08-07 15:27:26 -04:00
Stefano Raggi 39aa9dfe5d Revert 9131a89 - Update Baseclass.Contrib.Nuget.Output to version 2.3.0 2017-07-08 02:21:10 +02:00
Stefano Raggi 9131a89061 Update Baseclass.Contrib.Nuget.Output to version 2.3.0 2017-07-08 00:49:49 +02:00
Stefano Raggi 087a69f002 Upgrade libraries AsyncIO, Castle.Core, Moq, NetMQ, NUnit, NLog 2017-07-08 00:07:17 +02:00
Stefano Raggi d88d82af12 Upgrade Json.NET to version 10.0.3 2017-07-07 23:21:47 +02:00
Stefano Raggi e463ccf088 Upgrade all projects to target .NET Framework 4.5.2
In the advanced build settings, Language version was also upgraded from C# 5.0 to C# 6.0. The minimum Visual Studio version required will now be VS2015.
2017-07-07 22:49:17 +02:00
Victor Baybekov de21307a32 Update Json.Net to 9.0.1 2017-03-14 01:35:59 +03:00
Gustavo Aviles a4f2486ecb fix local charting version number 2017-02-23 17:12:18 -05:00
Stefano Raggi 8688ece2d4 Update Accord.NET library to version 3.3.0 2016-12-15 20:46:25 +01:00
jaredbroad b4ad014c11 Removed unused app configs 2016-11-21 04:43:09 -05:00
jaredbroad 5e843ae92f Removed unused app configs 2016-11-21 04:43:09 -05:00
Juan José D'Ambrosio 96d9aeae4e Parameterless contructors for some CandleStickPatterns (#569)
* Parameterless constructors to CandleStickPatterns.

* LOGR method fixed.

* LogR fix... really.

* .gitignore reverted.
2016-09-29 18:02:07 -04:00
Andrew Hart 62592398e2 DesktopClient now uses volitile bool to shutdown.
In order to safely be accessed across threads, the private bool which dictates whether or not the DesktopClient is running has been decorated with the volitile keyword.  This should enable the DesktopClient to safely be shutdown from another thread.
2016-09-01 11:14:50 -04:00
Andrew Hart bbb7f28525 Refactored StreamMessageHandler to send packet only.
In order to avoid switching on types in StreamingMessageHandler, the NetMQ tcp Push Socket will now only send the serialized packet to the desktop client, instead of the serialized packet and the packet type.

The DesktopClient now only accepts single part messages in order to accomadate the changes in StreamingMessageHandler.  The type of the packet is distinguished in the DesktopClient because StreamingMessageHandler does not disnguish the types of the packets.

The StreamingMessageHandler tests and DesktopClientTests have been altered to reflect these changes.
2016-09-01 09:39:21 -04:00
Andrew Hart 7b533001d8 LeanWinForm.cs now implements IMessageHandler
The WinForm application now implements the interface that allows the DesktopClient to pass messages to it. This replaces the delegate methods that were being used before.

The Main method in the Views project now starts the NetMQ pull socket (server) in another thread.  This is so the server does no block the rest of the WinForms application.  The server is then shut down once the application is finished running.
2016-08-31 12:35:17 -04:00
Andrew Hart 5fcb78c5fc Tests for DesktopClient added 2016-08-31 12:27:46 -04:00
Andrew Hart c42c4ce35e DesktopClient added that accepts messages from engine
The DesktopClient recieves messages from the LEAN engine and uses an instance of the IMessageHandler to pass messages to the view.  The DesktopClient uses a NetMQ Pull socket to accept the messages over TCP.

The desktop client should be run in another thread.
2016-08-31 12:25:51 -04:00
Andrew Hart 0728d0ae25 Interface added in Views that abstracts message handling
IDesktopMessageHandler outlines the methods that the View will use to process different packets.  This is done so that the message handler can eventually be passed to the server that accepts incoming tcp connections in the view.

The interface will eventually replace the delegates used in the view.  Using a message handler interface will make calling these methods easier from the PullSocket that will accept the TCP messages.
2016-08-31 12:22:04 -04:00
Andrew Hart 57d4cb4651 QuantConnect.Views is now a console application
In order to decouple the build profiles of QuantConnect.Views and the rest of the application, QuantConnevt.Views will now produce an executable that can be called from the rest of the project.  All references to QuantConnect.Views from the Laucher project are now removed.  This is all done so that The rest of the project can compile into x64.  QuantConnect.Views relies on the Gecko web browser which only comes in 32 bit flavor.
2016-08-31 12:11:33 -04:00
AlexCatarino d3e45f4b26 Fixes desktop not displaying charts
When algorithm run ends before the message system is loaded (it depends on the UX loading), enqueued packets used on charting are never sent to the UX.
2016-07-28 18:36:45 -03:00
jameschch@outlook.com b5ab4ad60f Change to Baseclass.Contrib.Nuget.Output 2.2.0-xbuild02 2016-07-17 09:23:13 +01:00
jameschch@outlook.com 964dc71df7 Reinstate GeckoFX for non-mono 2016-07-17 08:44:58 +01:00
jaredbroad 1c42cc94aa Added simplified desktop live charting to ux 2016-06-15 12:52:32 -04:00
Stefano Raggi 995b6f6dbd Removes references to F# and VB algorithm projects
Removed from Engine, Launcher, Tests and Views projects
2016-06-11 22:54:09 +02:00
jaredbroad dd8a6442b6 Tidy unneccessary TravisCI build configuration 2016-04-19 19:51:51 -04:00
jaredbroad f28902cbdf Added messaging to streaming and and ux for when config not set properly 2016-04-19 19:32:40 -04:00
jaredbroad 10a1819e8c BaseClass removal, resharper foo tidy 2016-04-19 18:57:53 -04:00
jaredbroad d4c5a422b9 Test fix with Mono Web Browser replacing Gecko 2016-04-19 18:41:48 -04:00
jaredbroad e93006b6a5 Added Travis CI release configuration and disabled views from building in linux 2016-04-15 12:44:37 -04:00
jaredbroad 1cff84ab81 Bux fixes on local charting, and solve logged with queue logger 2016-04-12 21:21:12 -04:00
jaredbroad 9ad2fe53be Fixed beta url -> master 2016-04-12 13:34:06 -04:00
jaredbroad 2670b41be6 Bug fixes and event onload for when embed url is loaded 2016-04-11 20:06:25 -04:00
jaredbroad 632c21c99c New UX for LEAN, launched from Launcher using embedded HTML browser 2016-04-11 18:29:50 -04:00
David Hsieh 991f27099c Upgrade Baseclass Contrib dependency for compatability with VS2015 2016-04-09 06:53:42 +10:00
David Hsieh 6d2fd180f8 Removed redundant CEF packages 2016-04-04 05:36:24 +10:00
David Hsieh 0a30f4b892 Amend previous change with uncommitted changes. 2016-04-04 01:15:39 +10:00
David Hsieh 98eb52c33f Merged from master, not fully tested. 2016-04-04 01:14:47 +10:00
Juan Manuel Alvarez b3494afc47 Constants renamed to Globals.
Globals values can be reloaded from configuration.
2016-03-12 01:07:31 -03:00
David Hsieh 2d73a08c87 Configured so Browser instance is handled by the presenter, is able to retrieve job details from the packet. Considering how to handle the initial configure of the local back test job. 2016-03-05 08:42:48 +10:00
David Hsieh 4404f454a1 Using GeckoFx instead of Cef as the embedded browser. Added STA to the launcher (to resolve later). Static url at moment for backtest charting, will resolve from packets received. 2016-03-04 21:38:29 +10:00
David Hsieh 9070c96130 Added CEFSharp To Library. 2016-03-02 22:36:36 +10:00
David Hsieh 12e2b51719 Moved event handlers for the backtest result to the presenter. 2016-02-27 09:27:10 +10:00
David Hsieh 718a0133a3 Configured Desktop app to always use the EventMessagingHandler as its default message handler. 2016-02-26 23:08:58 +10:00
David Hsieh a63fdfa132 Refactored Messaging to use events for the form/presenter to handle. 2016-02-25 00:46:12 +10:00
David Hsieh 1bf0dff0ed Reorganised Lean Desktop to be launched from the Launcher. Moved UI Layout to mainly use VS Winforms Designer
Reorganised Lean Desktop to be launched from the Launcher.
Moved UI Layout to mainly use VS Winforms Designer.
//TODO reorganise Result Handler properly.
2016-02-21 18:14:10 +10:00
David Hsieh f538a74f1f WIP: allow launcher project to launch instance of the Winform GUI 2016-02-17 07:40:16 +10:00
David Hsieh 00a95ea1d7 Initial implementation of MVP for Winform GUI. 2016-02-15 23:49:31 +10:00