Search result found: 60


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

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

 
Hojin Yun

Usage of Instruments Other than Crypto for Algo-Trading Crypto Challenge Competition

Hello, I am currently trying to implement our teams' strategy on the backtesting platform. However, I tried to use other instruments such as gold price, but it seems I can only select Crypto data. I h ...

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

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

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

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

 
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 can I have multiple backtests at the same time?

Every time when I run a backtest on the platform, I need to wait for it to complete or cancel it first before I can run another backtest. Is there any way I can run multiple backtests at the ...

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

 
Bella

Stock price issue

Hi team, I found that the price for 06689HK looks strange. From the console, the price level is around 90.0 before 2023-01-06, but it studdenly drops to the level of 30 aft ...

 
Kim Joon Hyung

Question on backtesting?

Hi Algogene Community! Just one question. How can Algogene's backtest call a jupyter notebook from 'My History Jupyter Notebook'. ...

 
Terminator

How to set transaction cost as a percentage?

Hey there, any one know how to set transaction cost as a percentage in 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 ? ...

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

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

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

 
admin

4 Common Data Formats You Should Know

A data format is the arrangement of data fields. It defines how data is encoded for storage in a computer file, and the way to display and process. A good data researcher should at least know: ...

 
Nicholas Tan Yi Da

How to get historical data (crypto algo competition)

Hi, I tried to use the getHistoricalBar to retrieve past price data based on the tech docs, but it doesnt work, got some missing evt or mevt error. ...

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

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

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

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

 
William Cheung

Is economic data available in tick environment only?

In backtesting, it seems economic data stream is only available in tick environment. Is it possible to use econ data for other time intervals? ...

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