Search result found: 90


 
降龍

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

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

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

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

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

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

 
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

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

 
Nezuko

Too annoying for IBKR to re-auth weekly...

Hi, does anyone use IBKR TWS for trading? I've been getting lots of "None" type returns from IBKR's API. Is IBKR's API still doing that thing where you have to install their clien ...

 
Yam Yat Wa

Calling external API

I wonder if it is possible to perform HTTP requests on external API, like importing requests in Algogene? If it is not possible, is there any tricks to retrieve external data? ...

 
金爺

How to generate backtest report from Portfolio Optimizer?

Hi there, I have developed several simple trading strategies. Following the optimization method from the youtube tutorial ( ...

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

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

 
小霸王

Question about Multi Currency Account

I see some brokers support multi-currency account. Just wondering are there any use cases specific for algo-trading? To me, it just like multi-currency account in bank for holding different ...

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

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

 
長崎良美

How to backtest with my own non-market datasets?

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

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

 
admin

Guideline for Strategy Parameter Optimizer

Overview It is common that a trading algorithm involves a number of user defined trading parameters. To optimize the algorithm's trading performance, developers usually need to tweet the parameters, re-run ...

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

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

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

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

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

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