Skip to content
#

trading-algorithms

Here are 388 public repositories matching this topic...

Lean
AlexCatarino
AlexCatarino commented Feb 15, 2022

Expected Behavior

Be able to ask for extended market hours during a historical data request even if the subscriptions do not for Python.

Actual Behavior

The overload is only available for C#:

Potential Solution

Add the following overload:

public PyObject History(PyObject symbols, DateTime start, DateTime end, Resolution? resolution = null, bool? fillForward = nu
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

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

GF-Huang
GF-Huang commented Feb 27, 2022

Which version are you running? The lastest version is on Github. Pip is for major releases.

0.3.14b0

Do you have TA Lib also installed in your environment?

yes

Did you upgrade? Did the upgrade resolve the issue?

I try upgrade, not solve.

Describe the bug
The df.ta.to_utc is a property, but it is not idempotent. When you type df.ta. then press tab for auto

DataFrame

This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at

  • Updated Jan 20, 2022
  • Python

Improve this page

Add a description, image, and links to the trading-algorithms 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-algorithms topic, visit your repo's landing page and select "manage topics."

Learn more