Search result found: 90


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

 
Bee Bee

How to print a debug message?

The python 'print' function doesn't work on the backtest platform. Any one can help? I tried print("hello world") , but nothing shown in the 'console' session. ...

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

 
小霸王

Where to backtest for CASH Algo Challenge?

Hi, my team has registered for the CASH Algo Trading Challenge 2023 . How can we backtest our strategy? ...

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

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

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

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

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

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

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

 
Chan Yu Sing

May I know if this error is triggered by insuffici

May I know if this error is triggered by insufficient virtual memory? How could I solve this? Thank you so much ...

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

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

 
Jackson

How can I use custom dataset for backtesting?

Have anyone successfully uploaded their stock dataset and do backtesting? I cannot find the .csv file that I have uploaded, in the "backtest" script. Thank you. ...

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

 
丁先生

Market data not align with Yahoo Finance

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

 
長崎良美

How to backtest with my own non-market datasets?

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

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

 
Terminator

How to set transaction cost as a percentage?

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

 
隻揪隻

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

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

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

 
大聖

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