Search result found: 93


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

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

 
Julian

How to use Portfolio Optimizer in backtest?

I find the portfolio optimizer very useful for building portfolio. How can I integrate this tool in my backtest? ...

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

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

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

 
⚡比卡超⚡

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

 
Kumar

How to set limit close order?

Hello, I found that the close order API only support market order. How can I close a position using limit order? ...

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

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

 
admin

Installing Python on Windows (Anaconda)

 This tutorial will demonstrate how you can install Anaconda, a powerful package manager, on Microsoft Windows. What is Anaconda? Anaconda is a distribution of Python. It is free and open-source and makes package management and deployment simpler. Keep reading to see how. It is the standard platform for Python data science an ...

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

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

 
Donald

Order closed with unexpected price

Hi there, I have a script running in the live-test environment. I found that one of my order for 7500HK was closed at $4.77 on 7-Jul. However, I checked other data sources, the lowest price on that day doesn't hit that low. ...

 
Nicole

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

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

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

 
user

How to set the data interval to "full tick" ?

I can only set the data interval to "one day" but I wan to activate newsdatafeed. Can anyone help me? Thanks. ...

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

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

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

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

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

 
Simple

Question about order placement

I am able to place order and got this error " Invalid order is rejected due to insufficient capital " Here is my code. Please help! ...

 
Max

Run machine learning algorithm in the backtest engine.

I have used machine learning algorithms to assist in the development of trading strategies. However, I found that some libraries I used are not available in the backtest engine. So I would like to kno ...

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