Search result found: 90


 
Sergei

How to backtest with 3-hour data interval?

I have a strategy that works well with 3-hour candles. However, I don't see such option in the backtest setting. How can I do that? ...

 
Duval LC

10 Powerful Python One-Liners Every Data Engineer Should Know

If you spend your days stitching together ETL jobs, watching dashboards, and taming semi‑structured logs, Python one‑liners can feel like superpowers. They compress intent into readable, testable s ...

 
Algo Ninja

Request for a portfolio rebalancing API

Hi team, I am developing a strategy that use portfolio theory for asset allocation. I have gone through the whole tech doc but it seems the system currently doesn't provide a simple API for portfolio ...

 
Henry Tsai

How to implement stoploss?

Hello team, I am trying to implement a stop loss in my strategy. I’m not quite sure how to do it. Can someone provide more guidance? ...

 
Ng Pui Tsun

How to access news data feed to do sentiment analysis?

How to access news data feed and how to change the parameter of news data feed function? And does it output a dataframe or a dictionary? ...

 
admin

Data exploration with Jupyter Notebook

Here comes a new platform feature on ALGOGENE to directly work with Jupyter Notebook! ...

 
admin

Guideline to import custom package

Suppose we already have a python package/function created on a local machine. This article will guide you through the steps to plug into ALGOGENE for backtest, live-test or real-trading. ...

 
Sharwan Patel

Request for parameter optimization function

Hi algogene team, I have been using the platform for developing my trading algorithm for almost a year. I am really appreciate how powerful APIs and comprehensive datasets the platform has. ...

 
chantomkit

Can I use the getHistoricalBar only for live testing

Hello, I want to ask about the function of getHistoricalBar. For example in backtesting, I want to get the historical 2min bar data of certain instrument and calculate some indicato ...

 
admin

4 Common Data Formats You Should Know

A data format is the arrangement of data fields. It defines how data is encoded for storage in a computer file, and the way to display and process. A good data researcher should at least know: ...

 
Lee Chang Jun

How can I access whether certain trade closed with either targetprofit or stoploss?

I looked at the documents for querying orders but I couldn't find how I can query closed orders. I need to know whether my orders closed with target profit or stop loss. May I know how I can access th ...

 
丁先生

Market data not align with Yahoo Finance

Hello community, I have a question regarding the dataset on the platform. I use the getHistoricalBar ...

 
William Cheung

Is economic data available in tick environment only?

In backtesting, it seems economic data stream is only available in tick environment. Is it possible to use econ data for other time intervals? ...

 
admin

Matplotlib for data visualization on ALGOGENE IDE

Visualizing datasets on ALGOGENE Research Lab is extremely simple. This articles shows you how to apply a popular Python charting library 'matplotlib' to acheive this. With 'matplotlib', you can cr ...

 
Edward

How to set swap fee in backtest?

Hey everyone! I’m working on an FX trading algo that’s been performing pretty well, but I want to make sure I include realistic assumptions for real market conditions. I know that swap fees are pretty common in ...

 
大聖

Improvement for many stocks input in the instrument list

Hey, I have a trading strategy which trade on a basket of many stocks and rebalance weekly. The current system needs to manually choose the stocks one by one. It is too time consuming and not ...

 
Minseok Choi

Question about market data

Hello, I am now studying to be aware of Algogene's backtesting engine. I run this code and the result shows this result. CODE class AlgoEvent: ...

 
Jeremy

What is the purpose of "orderRef"?

From TechDoc, I see order submission allows an input parameter for " orderRef ". I don't quite understand what it is for. Appreciate if someone can explain more, a ...

 
Hojin Yun

Usage of Instruments Other than Crypto for Algo-Trading Crypto Challenge Competition

Hello, I am currently trying to implement our teams' strategy on the backtesting platform. However, I tried to use other instruments such as gold price, but it seems I can only select Crypto data. I h ...

 
長崎良美

Why my order being closed immediately?

Hi I sent a market order with 1% stop loss condition like below. def = AlgoAPIUtil . OrderObject( ...

 
Boris

Question about system behavior of 1-day interval in live trading

I have a strategy using 1-day dataset for backtest. I am wondering how this setup works in the live trading environment. Will my strategy only receive data feed every 24 hours, or is it a re ...

 
Sharwan Patel

How to set order volume to balance percentage?

Hi all, I have a question related to placing orders. I checked from Tech Doc that the order volume refers to the number of contract to buy. However, I want to buy for 1% of balance ...

 
Samson

How to backtest with Adjusted Price?

Hey everyone! I was running a backtest for AAPL, and noticed the market price suddenly dropped by over 90%. I think this happened because of a stock split. Does anyone know how I can backtest using adjusted pric ...

 
Kwan Chi Yeung

Example in Tutorials (Moving Average)

There is only one instrument used In the moving average programming example. May I know if there is any method that can perform the same action but subscribes to more than one instrument? For example, ...

 
Terminator

How to set transaction cost as a percentage?

Hey there, any one know how to set transaction cost as a percentage in backtest? ...