backtesting.py
ccxt
Our great sponsors
backtesting.py | ccxt | |
---|---|---|
25 | 74 | |
4,797 | 31,291 | |
- | 2.5% | |
0.0 | 10.0 | |
28 days ago | 7 days ago | |
Python | Python | |
GNU Affero General Public License v3.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
backtesting.py
-
Python developers -- what broker and api do you use?
We chose backtesting.py for a backtesting framework. There are several to choose from but that one seems like the most well-supported and actively worked on at the moment.
-
How do you backtest with IBKR Data?
The process might vary a bit based on what you want to trade, but I've had some success with back-testing by using the IBKR API to download historical data for the stocks I want, then plugging in that data to some other back-testing framework, like https://kernc.github.io/backtesting.py/
-
Anyone here built backtest/alpha visualization/exploration dashboard(s)?
https://kernc.github.io/backtesting.py/ offers nice way to zoom backtesting. It has some bugs, but good for visualization.
-
What platform do you use to backtest historical millisecond tick data?
Are there any free trading platform options to import and backtest millisecond historical tick data? Do you use something like https://github.com/kernc/backtesting.py and then translate algorithms into mql4/5 or pinescript?
- GitHub - kernc/backtesting.py: Backtest trading strategies in Python.
-
Where/how do I “import backtesting” and other programs? TY!
But even if you don't know that, you can Google the library to find its documentation and installation instructions - in this case, here where it does indeed tell you to run pip install backtesting.
-
What are your 2022 success stories? It's been a long year. You deserve to brag.
Sure. My strategy is actually very simple using common indicators like MACD and RSI. Most of the code is actually based on https://github.com/kernc/backtesting.py and I use it to check whether I should buy or sell on a particular day. Hope this helps!
- Backtesting.py - interpreting the generated chart
- How hard would this be?
-
Bot development best practices for making backtesting easier?
I'm leaning towards using the backtesting.py library, but from the example on their main page, it looks like you need to program your strategy using their library?
ccxt
-
JavaScript Libraries for Implementing Trendy Technologies in Web Apps in 2024
CCXT
-
Crypto Trading Bot API workaround
I would sincerely advise you to use a ready to use python library for this like https://github.com/ccxt/ccxt
-
Algo Trading
CCXT has good documentation on what exchanges and API's are supported which is very helpful. https://github.com/ccxt/ccxt/wiki/Exchange-Markets-By-Country
-
UnboundLocalError: local variable referenced before assignment
Consider using https://github.com/ccxt/ccxt for crypto exchange interaction, which of course will support Binance too
-
How to start a personal quant investing scheme?
Check out https://github.com/hummingbot/hummingbot (disclosure: my project). We just added a Binance candles feature where you can construct custom OHLCV candles and TA indicators. You should also check out https://github.com/ccxt/ccxt which has broader exchange support but less order book data management than Hummingbot.
-
where to start learning how to build a bot ?
Or if you stick to JavaScript and willing to learn the programming part, then https://github.com/ccxt/ccxt (which is now merged with CCXT Pro but still for free).
-
What platform do you recomend if I want to algo-manage multiple account at once?
Ccxt works great for me and it's free and open-source. You can connect and execute on multiple exchanges. It works with Javascript, Python and PHP.
-
Best trading platform to program custom indicators, and set up alerts based on those indicators for 1k+ stocks? (TradingView, TradeStation, etc.)
if you're going crypto, try CCXT https://github.com/ccxt/ccxt
- Stuck on Asyncio + Requests - for god's sake will someone please HELP.
-
Automating trading with Pinescript
Essentially, to create an automated trading system using TradingView strategies, you would need to acquire the signal using webhooks. Once you acquire the signal, you can use whatever data send with it to manage orders, using the API of your broker. Usually, there are SDKs available to make this process easier. For crypto, one of the most well known SDKs is called CCXT. There are also some made for traditional brokers too. It is a simple process but it does take some experience with programming systems to set up.
What are some alternatives?
backtrader - Python Backtesting library for trading strategies
binance-spot-api-docs - Official Documentation for the Binance Spot APIs and Streams
vectorbt - Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.
freqtrade - Free, open source crypto trading bot
PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop - Open Source Trading Strategies & End-to-End solution connecting Metatrader4 & Metatrader5 💹 with Python with a simple drag and drop EA. Fully tested bug free & efficient solution for live & paper trading⭐ Full Documentation ready. Lightweight, efficient and stable implementation 🔥 [UnavailableForLegalReasons - Repository access blocked]
lumibot - Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more
OctoBot - Open source crypto trading bot
gym-anytrading - The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)
pancakeswap-uniswap-sniping-bot - Pancakeswap and Uniswap sniping for beginners. DYOR and modify the code to your liking
blankly - 🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
reactjs-crypto-api-dashboard - Create a cryptocurrency dashboard using ReactJS and the Coinbase API