close
The Wayback Machine - https://web.archive.org/web/20220323031917/https://github.com/topics/trading-strategies
Skip to content
#

trading-strategies

Here are 587 public repositories matching this topic...

Lean
zhuzw0528
zhuzw0528 commented Mar 9, 2022

Expected Behavior

backtesting binance cypto

Actual Behavior

Can't place an order

Potential Solution

Reproducing the Problem

def Initialize(self):
self.SetStartDate(2018, 5, 2)
self.SetEndDate(2021, 5, 4)

bug up for grabs good first issue
quant-trading

Python quantitative trading strategies including VIX Calculator, Pattern Recognition, Commodity Trading Advisor, Monte Carlo, Options Straddle, Shooting Star, London Breakout, Heikin-Ashi, Pair Trading, RSI, Bollinger Bands, Parabolic SAR, Dual Thrust, Awesome, MACD

  • Updated Feb 1, 2022
  • Python
Superalgos
teehanming
teehanming commented Jan 26, 2022

Is your feature request related to a problem? Please describe.
Ugly title for asset new asset. The asset node gets New Asset title after entering the codename.

Describe the solution you'd like
auto rename by referring the codeName --> iconName
set iconName as variable.

Describe alternatives you've considered

Additional context
Add any other context or screenshots

improvement good first issue Web App UI
backtesting.py
zillionare
zillionare commented Apr 30, 2021

this is how Buy & Hold Return is calculated:

        c = data.Close.values
        s.loc['Buy & Hold Return [%]'] = (c[-1] - c[0]) / c[0] * 100  # long-only return

so it's calced use day one and the day last.

Expected Behavior

Buy & Hold Return is used for compare with strategy gain. Therefore, I guess they should started at same time, since the strategy get enough data to w

bug good first issue Hacktoberfest
DataFrame
rodrigo-brito
rodrigo-brito commented Mar 19, 2022

We can create and initialize indicators for chats in Ninjabot.

Example: https://github.com/rodrigo-brito/ninjabot/blob/516e75064107daf73495bf1d091b5dc1cba18c09/examples/backtesting/main.go#L58-L63

A indicator is a simple struct that implements the follow interface:

type Indicator interface {
	Name() string
	Overlay() bool
	Metrics() []IndicatorMetric
	Load(dataframe *model.Datafram
help wanted good first issue

Improve this page

Add a description, image, and links to the trading-strategies topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the trading-strategies topic, visit your repo's landing page and select "manage topics."

Learn more