Search result found: 90


 
Gary Fung

How to close orders by orderRef?

Hey there! I have a backtest script containing multiple strategies. I managed the orders in a way that orders opened from the same strategy will have the same order reference. ...

 
金爺

How to generate backtest report from Portfolio Optimizer?

Hi there, I have developed several simple trading strategies. Following the optimization method from the youtube tutorial ( ...

 
Joseph Chang

Initial capital is missing in livetest?

I can set "initial capital" for backtest, but I can't where to set it for livetest. How can I reset the capital for live simulation? ...

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

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

 
長崎良美

How to backtest with my own non-market datasets?

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

 
Max

Product Input Simplification

I found that the selected products involved in the trading strategy require manual inputs. It takes lots of time if many products are involved. Therefore, I would like to know if there is an approach ...

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

 
admin

Guideline to upload custom data via API

Following the article Guideline to backtest with custom datasets , we learnt how to upload custom data to the system for backtest ...

 
Nicole

量化交易: 投資也能開外掛?

隨著科技的進步,傳統的投資方式逐漸被量化交易所取代。量化交易,簡單來說,就是利用數學模型和程式化的方式分析市場,並自動執行交易。對於想要在金融市場中取得優勢的投資者來說,量化交易無疑是一個值得探索的選擇。 ...

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

 
Zero

Backtest setting question for competition

Hey there, I am a participant of the Algo Trading Challenge 2023/24 (Global) . Just want to clarify whether t ...

 
SuperB

Question about restart algo

When I restart the algorithm, will the variables and its stored values in previous script be deleted or not? If the variable won't be deleted, can the system handle new variables I added under " __init__() "? ...

 
Ivan

Request for TradingView Pine Script Convertor

Hey Algogene team, I have some strategies previously written on TradingView. After playing Algogene platform for a while, I am really impressed with your powerful system, so I am gonna to mi ...

 
⚡比卡超⚡

How to query current account balance in backtest?

Hey, I am new to the platform. As title, how can I get current account balance in backtest? ...

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

 
大聖

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

how to get minute level data into Jupyter notebook

i have tried this by changing the D to M.. but it did not work ...

 
長崎良美

Why my order being closed immediately?

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

 
Darius

How to place orders during pre-opening session?

Hi, I am a participant of the CASH Algo Trading competition. I have a question as title. I read this article Underst ...

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

 
Zoro

on_bulkdatafeed 関数の「isSync」とは何ですか?

この例は技術文書で見ました。 「isSync」が何に使われるのか説明できる人はいますか? def = 'USDJPY' ...

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

 
Li Shiji

Is it possible to run the backtest strategy backend

Dear AlgoGene support team, I found it took time to run backtest, the work got lost if got disconnected. Is there a way to run the backtest in backend in batch? ...

 
Jeremy

How to check whether a news appears during trading session?

Hi all, from the technical document, i know that "session=0" refers to trading session for placing orders. Orders will be rejected for other non-trading sessions. In fact, my strategy analyz ...