Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

py update

tilakpatel22d75e7b77477a
diff --git a/.gitignore b/.gitignore
index 1ecf79c1d..1bd74590a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -137,3 +137,4 @@ setup.iss
temp
tempdist
nul
+fincept-terminal-desktop/src-tauri/lean_projects/
diff --git a/fincept-terminal-desktop/.gitignore b/fincept-terminal-desktop/.gitignore
new file mode 100644
index 000000000..4dc267415
--- /dev/null
+++ b/fincept-terminal-desktop/.gitignore
@@ -0,0 +1 @@
+src-tauri/lean_projects/
diff --git a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765458411167-lwpazelt6/main.py b/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765458411167-lwpazelt6/main.py
deleted file mode 100644
index 8ca1c8d3a..000000000
--- a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765458411167-lwpazelt6/main.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# ==============================================================================
-# Strategy: My Strategy
-# Version: 1.0.0
-# Author: User
-# Description: User-created strategy
-# Generated by Fincept Terminal
-# ==============================================================================
-
-# Simple Moving Average Crossover Strategy
-# This is a basic example - modify as needed
-
-from AlgorithmImports import *
-
-class MyStrategy(QCAlgorithm):
- def Initialize(self):
- self.SetStartDate(2020, 1, 1)
- self.SetEndDate(2023, 12, 31)
- self.SetCash(100000)
-
- # Add equity
- self.symbol = self.AddEquity("SPY", Resolution.Daily).Symbol
-
- # Create indicators
- self.fast_sma = self.SMA(self.symbol, 50, Resolution.Daily)
- self.slow_sma = self.SMA(self.symbol, 200, Resolution.Daily)
-
- def OnData(self, data):
- if not self.fast_sma.IsReady or not self.slow_sma.IsReady:
- return
-
- # Buy signal: fast SMA crosses above slow SMA
- if self.fast_sma.Current.Value > self.slow_sma.Current.Value:
- if not self.Portfolio.Invested:
- self.SetHoldings(self.symbol, 1.0)
-
- # Sell signal: fast SMA crosses below slow SMA
- elif self.fast_sma.Current.Value < self.slow_sma.Current.Value:
- if self.Portfolio.Invested:
- self.Liquidate(self.symbol)
diff --git a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765458659674-tydnpsanu/main.py b/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765458659674-tydnpsanu/main.py
deleted file mode 100644
index 8ca1c8d3a..000000000
--- a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765458659674-tydnpsanu/main.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# ==============================================================================
-# Strategy: My Strategy
-# Version: 1.0.0
-# Author: User
-# Description: User-created strategy
-# Generated by Fincept Terminal
-# ==============================================================================
-
-# Simple Moving Average Crossover Strategy
-# This is a basic example - modify as needed
-
-from AlgorithmImports import *
-
-class MyStrategy(QCAlgorithm):
- def Initialize(self):
- self.SetStartDate(2020, 1, 1)
- self.SetEndDate(2023, 12, 31)
- self.SetCash(100000)
-
- # Add equity
- self.symbol = self.AddEquity("SPY", Resolution.Daily).Symbol
-
- # Create indicators
- self.fast_sma = self.SMA(self.symbol, 50, Resolution.Daily)
- self.slow_sma = self.SMA(self.symbol, 200, Resolution.Daily)
-
- def OnData(self, data):
- if not self.fast_sma.IsReady or not self.slow_sma.IsReady:
- return
-
- # Buy signal: fast SMA crosses above slow SMA
- if self.fast_sma.Current.Value > self.slow_sma.Current.Value:
- if not self.Portfolio.Invested:
- self.SetHoldings(self.symbol, 1.0)
-
- # Sell signal: fast SMA crosses below slow SMA
- elif self.fast_sma.Current.Value < self.slow_sma.Current.Value:
- if self.Portfolio.Invested:
- self.Liquidate(self.symbol)
diff --git a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459184481-2h0i5mama/main.py b/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459184481-2h0i5mama/main.py
deleted file mode 100644
index 8ca1c8d3a..000000000
--- a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459184481-2h0i5mama/main.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# ==============================================================================
-# Strategy: My Strategy
-# Version: 1.0.0
-# Author: User
-# Description: User-created strategy
-# Generated by Fincept Terminal
-# ==============================================================================
-
-# Simple Moving Average Crossover Strategy
-# This is a basic example - modify as needed
-
-from AlgorithmImports import *
-
-class MyStrategy(QCAlgorithm):
- def Initialize(self):
- self.SetStartDate(2020, 1, 1)
- self.SetEndDate(2023, 12, 31)
- self.SetCash(100000)
-
- # Add equity
- self.symbol = self.AddEquity("SPY", Resolution.Daily).Symbol
-
- # Create indicators
- self.fast_sma = self.SMA(self.symbol, 50, Resolution.Daily)
- self.slow_sma = self.SMA(self.symbol, 200, Resolution.Daily)
-
- def OnData(self, data):
- if not self.fast_sma.IsReady or not self.slow_sma.IsReady:
- return
-
- # Buy signal: fast SMA crosses above slow SMA
- if self.fast_sma.Current.Value > self.slow_sma.Current.Value:
- if not self.Portfolio.Invested:
- self.SetHoldings(self.symbol, 1.0)
-
- # Sell signal: fast SMA crosses below slow SMA
- elif self.fast_sma.Current.Value < self.slow_sma.Current.Value:
- if self.Portfolio.Invested:
- self.Liquidate(self.symbol)
diff --git a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459744490-cepk41rte/main.py b/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459744490-cepk41rte/main.py
deleted file mode 100644
index 8ca1c8d3a..000000000
--- a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459744490-cepk41rte/main.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# ==============================================================================
-# Strategy: My Strategy
-# Version: 1.0.0
-# Author: User
-# Description: User-created strategy
-# Generated by Fincept Terminal
-# ==============================================================================
-
-# Simple Moving Average Crossover Strategy
-# This is a basic example - modify as needed
-
-from AlgorithmImports import *
-
-class MyStrategy(QCAlgorithm):
- def Initialize(self):
- self.SetStartDate(2020, 1, 1)
- self.SetEndDate(2023, 12, 31)
- self.SetCash(100000)
-
- # Add equity
- self.symbol = self.AddEquity("SPY", Resolution.Daily).Symbol
-
- # Create indicators
- self.fast_sma = self.SMA(self.symbol, 50, Resolution.Daily)
- self.slow_sma = self.SMA(self.symbol, 200, Resolution.Daily)
-
- def OnData(self, data):
- if not self.fast_sma.IsReady or not self.slow_sma.IsReady:
- return
-
- # Buy signal: fast SMA crosses above slow SMA
- if self.fast_sma.Current.Value > self.slow_sma.Current.Value:
- if not self.Portfolio.Invested:
- self.SetHoldings(self.symbol, 1.0)
-
- # Sell signal: fast SMA crosses below slow SMA
- elif self.fast_sma.Current.Value < self.slow_sma.Current.Value:
- if self.Portfolio.Invested:
- self.Liquidate(self.symbol)
diff --git a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459826495-rbzq3jr6n/main.py b/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459826495-rbzq3jr6n/main.py
deleted file mode 100644
index 8ca1c8d3a..000000000
--- a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459826495-rbzq3jr6n/main.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# ==============================================================================
-# Strategy: My Strategy
-# Version: 1.0.0
-# Author: User
-# Description: User-created strategy
-# Generated by Fincept Terminal
-# ==============================================================================
-
-# Simple Moving Average Crossover Strategy
-# This is a basic example - modify as needed
-
-from AlgorithmImports import *
-
-class MyStrategy(QCAlgorithm):
- def Initialize(self):
- self.SetStartDate(2020, 1, 1)
- self.SetEndDate(2023, 12, 31)
- self.SetCash(100000)
-
- # Add equity
- self.symbol = self.AddEquity("SPY", Resolution.Daily).Symbol
-
- # Create indicators
- self.fast_sma = self.SMA(self.symbol, 50, Resolution.Daily)
- self.slow_sma = self.SMA(self.symbol, 200, Resolution.Daily)
-
- def OnData(self, data):
- if not self.fast_sma.IsReady or not self.slow_sma.IsReady:
- return
-
- # Buy signal: fast SMA crosses above slow SMA
- if self.fast_sma.Current.Value > self.slow_sma.Current.Value:
- if not self.Portfolio.Invested:
- self.SetHoldings(self.symbol, 1.0)
-
- # Sell signal: fast SMA crosses below slow SMA
- elif self.fast_sma.Current.Value < self.slow_sma.Current.Value:
- if self.Portfolio.Invested:
- self.Liquidate(self.symbol)
diff --git a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459889779-mvrzrg0vd/main.py b/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459889779-mvrzrg0vd/main.py
deleted file mode 100644
index 8ca1c8d3a..000000000
--- a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765459889779-mvrzrg0vd/main.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# ==============================================================================
-# Strategy: My Strategy
-# Version: 1.0.0
-# Author: User
-# Description: User-created strategy
-# Generated by Fincept Terminal
-# ==============================================================================
-
-# Simple Moving Average Crossover Strategy
-# This is a basic example - modify as needed
-
-from AlgorithmImports import *
-
-class MyStrategy(QCAlgorithm):
- def Initialize(self):
- self.SetStartDate(2020, 1, 1)
- self.SetEndDate(2023, 12, 31)
- self.SetCash(100000)
-
- # Add equity
- self.symbol = self.AddEquity("SPY", Resolution.Daily).Symbol
-
- # Create indicators
- self.fast_sma = self.SMA(self.symbol, 50, Resolution.Daily)
- self.slow_sma = self.SMA(self.symbol, 200, Resolution.Daily)
-
- def OnData(self, data):
- if not self.fast_sma.IsReady or not self.slow_sma.IsReady:
- return
-
- # Buy signal: fast SMA crosses above slow SMA
- if self.fast_sma.Current.Value > self.slow_sma.Current.Value:
- if not self.Portfolio.Invested:
- self.SetHoldings(self.symbol, 1.0)
-
- # Sell signal: fast SMA crosses below slow SMA
- elif self.fast_sma.Current.Value < self.slow_sma.Current.Value:
- if self.Portfolio.Invested:
- self.Liquidate(self.symbol)
diff --git a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765460676743-7in89xz6n/lean.json b/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765460676743-7in89xz6n/lean.json
deleted file mode 100644
index 7127bf637..000000000
--- a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765460676743-7in89xz6n/lean.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "algorithm-language": "Python",
- "parameters": {},
- "description": "quantconnect-lean-1765460676743-7in89xz6n",
- "cloud-id": 0,
- "local-id": 0
-}
\ No newline at end of file
diff --git a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765460676743-7in89xz6n/main.py b/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765460676743-7in89xz6n/main.py
deleted file mode 100644
index 8ca1c8d3a..000000000
--- a/fincept-terminal-desktop/src-tauri/lean_projects/quantconnect-lean-1765460676743-7in89xz6n/main.py
+++ /dev/null
@@ -1,39 +0,0 @@
-# ==============================================================================
-# Strategy: My Strategy
-# Version: 1.0.0
-# Author: User
-# Description: User-created strategy
-# Generated by Fincept Terminal
-# ==============================================================================
-
-# Simple Moving Average Crossover Strategy
-# This is a basic example - modify as needed
-
-from AlgorithmImports import *
-
-class MyStrategy(QCAlgorithm):
- def Initialize(self):
- self.SetStartDate(2020, 1, 1)
- self.SetEndDate(2023, 12, 31)
- self.SetCash(100000)
-
- # Add equity
- self.symbol = self.AddEquity("SPY", Resolution.Daily).Symbol
-
- # Create indicators
- self.fast_sma = self.SMA(self.symbol, 50, Resolution.Daily)
- self.slow_sma = self.SMA(self.symbol, 200, Resolution.Daily)
-
- def OnData(self, data):
- if not self.fast_sma.IsReady or not self.slow_sma.IsReady:
- return
-
- # Buy signal: fast SMA crosses above slow SMA
- if self.fast_sma.Current.Value > self.slow_sma.Current.Value:
- if not self.Portfolio.Invested:
- self.SetHoldings(self.symbol, 1.0)
-
- # Sell signal: fast SMA crosses below slow SMA
- elif self.fast_sma.Current.Value < self.slow_sma.Current.Value:
- if self.Portfolio.Invested:
- self.Liquidate(self.symbol)