Search result found: 93


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

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

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

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

 
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__() "? ...

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

 
Lee Chang Jun

How can I access whether certain trade closed with either targetprofit or stoploss?

I looked at the documents for querying orders but I couldn't find how I can query closed orders. I need to know whether my orders closed with target profit or stop loss. May I know how I can access th ...

 
admin

Guideline to backtest with custom datasets

New features For more feasibility of our platform, ALGOGENE now supports new features: import multiple custom data files specify user-defined file formats ...

 
大聖

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

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

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

 
admin

ALGOGENE Market Data Solutions

What market data is available on ALGOGENE? The list below will get update from time to time. ASSET CLASS SYMBOL DESCRIPTION AVAILABLE FROM ...

 
長崎良美

Why my order being closed immediately?

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

 
長崎良美

How to backtest with my own non-market datasets?

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

 
David

How to query on-the-run future data?

Hello community! According to REST API Doc , I know I can query historical OHLC data for pla ...

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

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

 
admin

Data exploration with Jupyter Notebook

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

 
丁先生

Market data not align with Yahoo Finance

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

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

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

 
Nicole

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

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

 
⚡比卡超⚡

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

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

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