Search result found: 91


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

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

 
丁先生

Market data not align with Yahoo Finance

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

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

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

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

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

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

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

 
Edward

How to set swap fee in backtest?

Hey everyone! I’m working on an FX trading algo that’s been performing pretty well, but I want to make sure I include realistic assumptions for real market conditions. I know that swap fees are pretty common in ...

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

 
長崎良美

How to backtest with my own non-market datasets?

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

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

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

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

 
財神

Question about ALGOGENE Python SDK

Hi Algogene team, I backtested with the platform a few months. I really like your event driven algo system design which is feasible to extend to other non market datasets. Just won ...

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

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

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

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

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

 
⚡比卡超⚡

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

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

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