Search result found: 90


 
Kim Joon Hyung

Question on backtesting?

Hi Algogene Community! Just one question. How can Algogene's backtest call a jupyter notebook from 'My History Jupyter Notebook'. ...

 
長崎良美

How to backtest with my own non-market datasets?

I looked at this article about backtesting with custom datasets, which ...

 
降龍

How can I have multiple backtests at the same time?

Every time when I run a backtest on the platform, I need to wait for it to complete or cancel it first before I can run another backtest. Is there any way I can run multiple backtests at the ...

 
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 ...

 
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: ...

 
shah

inconsistent price and volume data

I was exploring 09988HK dataset. I noticed that the volume and price data are not consistent and vary greatly from the data i have from my broker and also data from tradingview. Can i know the sour ...

 
Katerina

Why I enabled Position Netting but PL still floating?

I have a question regarding position netting. From the Tech Doc description here , it mentioned that PL will be realized when the ...

 
admin

Python - Basic Syntax

 This series of tutorials will help you get familiar with some basic Python language, which will be useful develop your Algo in ALGOGENE Research Lab. First Python Program There are basically 2 modes to execute Python programs. ...

 
Mukesh Ram

How to implement CAPM?

This may be a simple question. My trading idea is to buy stocks which have positive excess return base on CAPM theory. Anyone can give some guidance how the backtest code should be ...

 
tony lam

3 Tips to make your code more pythonic

This article will introduce you to the top 3 ways you might not be fully taking advantage of to write better Python code, including: List Comprehension Dictionary Access ...

 
Percy

What is the cause of DANGER message in backest?

I encountered below danger message during backtesting. I am wondering what it is about and how to get rid of it. Thank you! ...

 
Joseph Chang

Why PL keeps changing while my position is zero?

From my understanding, NAV and "Cumulative PnL" should remain unchanged, if there is no outstanding positions. However, from the backtest result (see highlighted below), for certain days when "Net Position" is zero, "Cumulative PnL" is not constant. ...

 
EQUITY PASSION

i want to automate my trading view invite indicator can anyone help

i have a invite cript which source code i cannot acccess and i want to make it auto trade .indicator is on trading view and it generates buy sell alerts i want as soon as i get any alert it trade in m ...

 
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: ...

 
Tommy

How to get historical data before algo starts?

My strategy needs 1-year of past closing prices to build the tensorflow model. I see the platform processing data in a stream format. Is it possible to get historical data be ...

 
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 ...

 
admin

Guideline for Strategy Parameter Optimizer

Overview It is common that a trading algorithm involves a number of user defined trading parameters. To optimize the algorithm's trading performance, developers usually need to tweet the parameters, re-run ...

 
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, ...

 
William Cheung

How to change leverage and currency for live test?

Hello, for the live test account, I would like to change the base currency to HKD , instead of USD also the leverage to 10 , instead of 5 ...

 
CHEN Chi Wei

Data Missing

I was testing my strategy for the algo challenge, but I saw for one moment the WTIUSD has data missing in 2022-01-17 while it should not. Is this a bug from market data feed? ...

 
admin

Guidelines to re-use model results for backtests

When developing a trading algorithm, it may be the case where we have trained/built a particular model for a financial instrument and want to apply it on other financial sectors/markets. For such c ...

 
哪bubu

Error in calling OpenAI

Hi all, I tried using the openai library for analyzing news data, but it returns error "unsupported_country_region_territory" How can I fix it? ...

 
Freeze

API to query trade PL

My strategy need the unrealized PL of my trades to decide take profit or stop loss. I checked the tech doc a few times but still can't find related implementation details. An ...

 
大聖

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 ...

 
shah

understanding financing in Algogene platform

In the summary report, there is a financing metric. Can anyone explain how it works? My capital at the lowest was 70k, drawdown max -2.5% but there is financing value shown in the summary report. By r ...