Files
backtestingfx/python/__pycache__/backtest.cpython-314.pyc
T

26 lines
5.4 KiB
Plaintext
Raw Normal View History

2026-06-14 17:48:44 +01:00
+
2026-06-21 17:56:41 +01:00
ž7j
ăó^^RIHt^RIt^RIt!RR4t!RR4t!RR4tR#) é)ÚAnyNcóRa]tRt^toRtRtRtR
RltR
RltRt Rt
R t Vt R#) ÚStrategycó0RVnRVnRVnR#©N)Ú_barsÚ_barÚ_broker©Úselfs&Ú4/home/khzrimrn/Work/backtestingfx/python/backtest.pyÚ__init__ÚStrategy.__init__sŘŚ
ŘŚ Ř Ž ócóR#r©r s&r
ÚinitÚ
Strategy.init
óŮ rcóR#rrr s&r
ÚnextÚ
Strategy.nextrrNcóVPPVPPWPPW#4R#r)r
Úbuyr ÚcloseÚ timestamp©r Úlot_sizeÚ stop_lossÚ take_profits&&&&r
rÚ Strategy.buys-Ř Ź ×ŃŘ ŹI‰IŹO‰OX§yˇy×':Ń':¸
rcóVPPVPPWPPW#4R#r)r
Úsellr rrrs&&&&r
r#Ú
Strategy.sells-Ř Ź ×ŃŘ ŹI‰IŹO‰OX§yˇy×':Ń':¸
rcóŽVPPVPPVPP4R#r)r
Ú close_allr rrr s&r
r&ÚStrategy.close_alls(Ř Ź ×Ńtźy™yź°· ± ×0CŃ0CÖDrcóŽVPPWPPVPP4R#r)r
Úclose_positionr rr)r Úids&&r
r)ÚStrategy.close_position s(Ř Ź ×# BŻ © Ż©¸żą×9LŃ9LÖMr)r rr
)NN)
Ú__name__Ú
__module__Ú __qualname__Ú__firstlineno__rrrrr#r&r)Ú__static_attributes__Ú__classdictcell__©Ú