Search result found: 93


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

 
Duval LC

Python 3.14 Deep Dive: 6 Features You Need to Start Using Today

The much-anticipated Python 3.14 was officially released on October 7, 2025, marking the latest evolution of the world's most popular programming language. While we can’t promise it tastes like des The Python Steering Council has been hard at work, and 3.14 marks a significant milestone in the "Faster CPython" project. From a mature JIT compiler to smarter error handling, here is everything y ...

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

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

 
Duval LC

Python Project: Build an AI Face Detection Alarm System with Your Webcam

Python is widely recognized as a leading language for artificial intelligence and computer vision projects. By harnessing the capabilities of libraries like OpenCV and MediaPipe, you can create an ...

 
Maël

Question about team collaboration feature

I am a participant of the the Saudi Algo Challenge. Is there team collaboration features on the Algogene platform? I’m curious: Is ...

 
user

Hi , is it possible to import a cython module into

Hi , is it possible to import a cython module into the strategy code to use its functions ? ...

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

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

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

 
Donald

How to deploy model from Juypter Notebook?

Following this post , I have trained a model using the online Juypter Notebook. My question is how can I dep ...

 
Chan Yu Sing

Close position with market order

I see the error "[2020-01-01 23:25:00] EvtSendOrder Error: the sendOrder attribute parm 'openclose' does not support value 'close' under position base environment." in the console. I am try ...

 
隻揪隻

How to query historical data for my custom instrument?

Hey, I followed this post to upload my data ( https://algogene.com/community/post/26 ). How can I query my custom instrument ...

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

 
⚡比卡超⚡

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

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

 
admin

Guideline to use ALGOGENE DLL in MetaTrader

We are pleased to announce that ALGOGENE is now available as a plugin for MetaTrader (MT4 and MT5)! ...

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

 
admin

Data exploration with Jupyter Notebook

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

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

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

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

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