diff --git a/README.md b/README.md new file mode 100644 index 0000000..e5f72fd --- /dev/null +++ b/README.md @@ -0,0 +1,28 @@ +# Trade Viewer (ScottPlot WPF) + +This repository now contains a WPF application that mirrors the Python Plotly chart using ScottPlot. + +## Requirements + +- Windows with .NET 8 SDK + +## Run + +1. Restore packages: + +```bash +dotnet restore TradeViewer/TradeViewer.csproj +``` + +2. Start the app: + +```bash +dotnet run --project TradeViewer/TradeViewer.csproj +``` + +3. Click **Load** and select your CSV/log file. + +## Notes + +- The parser expects the same pipe-delimited log format as the original Python script. +- Update the default file path in `MainWindow.xaml.cs` if you want a different initial file. diff --git a/TradeViewer/App.xaml b/TradeViewer/App.xaml new file mode 100644 index 0000000..23493cc --- /dev/null +++ b/TradeViewer/App.xaml @@ -0,0 +1,6 @@ + + + + diff --git a/TradeViewer/App.xaml.cs b/TradeViewer/App.xaml.cs new file mode 100644 index 0000000..fbbf0d2 --- /dev/null +++ b/TradeViewer/App.xaml.cs @@ -0,0 +1,7 @@ +using System.Windows; + +namespace TradeViewer; + +public partial class App : Application +{ +} diff --git a/TradeViewer/MainWindow.xaml b/TradeViewer/MainWindow.xaml new file mode 100644 index 0000000..ed73ae1 --- /dev/null +++ b/TradeViewer/MainWindow.xaml @@ -0,0 +1,26 @@ + + + + + + + + + + + + +