Jhonathan Abreu
4c4a34007d
Python syntax algorithms fixes ( #8916 )
...
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
* Python syntax algorithms fixes
* More fixes
* More fixes
* Minor fix
* Update python syntax check accepted percentage
2025-08-11 10:55:00 -04:00
Jhonathan Abreu
cf8c5b854a
Python algorithms typing cleanup [part 1] ( #8716 )
...
* Cleanup algorithms python typing
* Minor tweaks
* Improve indicator extensions
---------
Co-authored-by: Martin Molinero <martin.molinero1@gmail.com >
2025-04-23 14:20:38 -03:00
Louis Szeto
020cf013df
Fix bug/syntax in python examples ( #8658 )
...
* CustomDataRegressionAlgorithm
* DescendingCustomDataObjectStoreRegressionAlgorithm
* CustomDataPropertiesRegressionAlgorithm
* DateTime -> should be datetime
* KerasNeuralNetworkAlgorithm
* OptionIndicatorsMirrorContractsRegressionAlgorithm
* BybitCustomDataCryptoRegressionAlgorithm
* DropboxBaseDataUniverseSelectionAlgorithm
* UserDefinedUniverseAlgorithm
* CompleteOrderTagUpdateAlgorithm
* BasicTemplateOptionEquityStrategyAlgorithm hint
* ETFConstituentUniverseFrameworkRegressionAlgorithm
* FutureStopMarketOrderOnExtendedHoursRegressionAlgorithm
* SecurityDynamicPropertyPythonClassAlgorithm
* hint
* hinting
* CallbackCommandRegressionAlgorithm
* CustomWarmUpPeriodIndicatorAlgorithm
* CrunchDAOSignalExportDemonstrationAlgorithm
* ExpiryHelperAlphaModelFrameworkAlgorithm
* ClassicRenkoConsolidatorAlgorithm
* SmaCrossUniverseSelectionAlgorithm
* PEP8 Fix: Assigning to a Method
* SliceGetByTypeRegressionAlgorithm
* MarketOnCloseOrderBufferExtendedMarketHoursRegressionAlgorithm
* MarketOnCloseOrderBufferRegressionAlgorithm
* CustomIndicatorAlgorithm
* ScheduledQueuingAlgorithm
* ComboOrdersFillModelAlgorithm
* CustomIndicatorWithExtensionAlgorithm
* IndicatorWithRenkoBarsRegressionAlgorithm
* CoarseFineOptionUniverseChainRegressionAlgorithm
* NumeraiSignalExportDemonstrationAlgorithm
* DropboxUniverseSelectionAlgorithm
* WeeklyUniverseSelectionRegressionAlgorithm
* AutoRegressiveIntegratedMovingAverageRegressionAlgorithm
* DropboxBaseDataUniverseSelectionAlgorithm
* IronCondorStrategyAlgorithm
* LongAndShortButterflyPutStrategiesAlgorithm
* FutureStopMarketOrderOnExtendedHoursRegressionAlgorithm
* LongAndShortCallCalendarSpreadStrategiesAlgorithm
* KerasNeuralNetworkAlgorithm
* LongAndShortPutCalendarSpreadStrategiesAlgorithm
* OptionPriceModelForOptionStylesBaseRegressionAlgorithm
* TensorFlowNeuralNetworkAlgorithm
* MarketOnCloseOrderBufferRegressionAlgorithm
* MarketOnCloseOrderBufferExtendedMarketHoursRegressionAlgorithm
* typing
* ComboOrderTicketDemoAlgorithm
* PytorchNeuralNetworkAlgorithm
* MultipleSymbolConsolidationAlgorithm
* fixes
* revert getattr mypy syntax
* address peer review
* Addresses Peer-Review
---------
Co-authored-by: Alexandre Catarino <AlexCatarino@users.noreply.github.com >
2025-04-14 09:43:03 -03:00
Martin-Molinero
513ced31d7
Add python syntax check ( #8651 )
...
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Syntax Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* Add python syntax check
* Fix some python regression algorithms
* Fixing more bugs
2025-03-28 10:36:26 -03:00
Ashutosh
1cae47ab25
pep8 conversion of python algos ( #7942 )
...
* pep8 conversion of python algos
* adding 10 more pep8 converted algos
2024-04-18 15:14:56 -03:00
Martin-Molinero
03f56481d4
Refactor python algorithm import ( #5657 )
...
Regression Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
* Python research import improvements
- Improve start.py for research env
- Remove unrequired imports
* Centralize algorithm imports
* Add regression test GH action
* Unit test python import clean up
* Join research and main imports
* More python import clean up
* Fix failing skipped regression algorithm
2021-06-15 19:06:06 -03:00
Michael Handschuh
fdc866fda0
Reverting 'Merge pull request #2483 python-history-provider'
...
We didn't experience the expected performance improvements. Locally under
unit test there was aboout an order of magnitude throughput increase, but
when run against the history benchmark, this new approach was 60% slower.
We're reverting this for now to perform further analysis and better
understand the performance profiling of the python history stack.
2018-09-18 18:37:23 -04:00
AlexCatarino
3e4a71cd50
Creates QCAlgorithm.py: a bridge between C# QCAlgorithm and python algorithms
2018-09-17 19:05:48 +01:00
AlexCatarino
489e11741b
Fixes some python algorithms
...
CustomCharting: did not initialize self.lastprice
QuandFuturesData: algorithm file name and class didn't match
UpdateOrderRegression: did not cast quantity (int) to decimal
UserDefinedUniverse: selector function returns C# List
2017-09-29 11:42:56 +01:00
Jared Broad
dc27c4e3d6
Added tags to python algorithms
2017-09-21 08:27:41 -04:00
AlexCatarino
e35ba389d9
Adds support for user-defined universe selection for python
...
Adds UserDefinedUniverseAlgorithm python script to show how to use user-defined universe selection for python.
2017-09-20 22:45:51 +01:00
Alexandre Catarino
58f0caf647
Updates example algorithms written in Python ( #889 )
...
Some python algorithms suffered corrections to run under the new python framework (pythonnet).
Others were deleted because some features will be supported in futures implementations.
Adds a method in AlgorithmPythonUtil to transform C# DateTime into Python datetime
2017-05-04 13:02:25 -04:00
AlexCatarino
7f1ece096d
Adds UserDefinedUniverseAlgorithm.py
...
Add Python version of UserDefinedUniverseAlgorithm
2016-03-17 23:11:57 -03:00