Search result found: 90


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

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

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

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

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

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

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

 
⚡比卡超⚡

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

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

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

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

 
大聖

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

 
隻揪隻

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

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

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

 
Minseok Choi

Question about market data

Hello, I am now studying to be aware of Algogene's backtesting engine. I run this code and the result shows this result. CODE class AlgoEvent: ...

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

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

 
Tommy

How to get historical data before algo starts?

My strategy needs 1-year of past closing prices to build the tensorflow model. I see the platform processing data in a stream format. Is it possible to get historical data be ...

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

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

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

 
CHEN Chi Wei

Data Missing

I was testing my strategy for the algo challenge, but I saw for one moment the WTIUSD has data missing in 2022-01-17 while it should not. Is this a bug from market data feed? ...

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

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