Search result found: 92


 
Fred

How to co-edit a backtest script with my teammates?

Hi, my team is working on an algo project. Can we code and comment a backtest script at the same time? ...

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

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

 
金爺

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

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

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

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

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

 
財神

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

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

 
小霸王

Where to backtest for CASH Algo Challenge?

Hi, my team has registered for the CASH Algo Trading Challenge 2023 . How can we backtest our strategy? ...

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

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

 
Katerina

Why I enabled Position Netting but PL still floating?

I have a question regarding position netting. From the Tech Doc description here , it mentioned that PL will be realized when the ...

 
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

Installing Python on Windows (Anaconda)

 This tutorial will demonstrate how you can install Anaconda, a powerful package manager, on Microsoft Windows. What is Anaconda? Anaconda is a distribution of Python. It is free and open-source and makes package management and deployment simpler. Keep reading to see how. It is the standard platform for Python data science an ...

 
Max

Run machine learning algorithm in the backtest engine.

I have used machine learning algorithms to assist in the development of trading strategies. However, I found that some libraries I used are not available in the backtest engine. So I would like to kno ...

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

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

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

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

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

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

 
Hyunjun Yoo

Question about close prices in function data and market data

Hello, I have a confuse with difference between close price data in getHistoricalBar function and close price data in market data. I just tried to make a code to get RSI. But there was a quite big dif ...

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