Search result found: 90


 
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 import custom package

Suppose we already have a python package/function created on a local machine. This article will guide you through the steps to plug into ALGOGENE for backtest, live-test or real-trading. ...

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

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

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

 
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

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

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

 
user

How to set the data interval to "full tick" ?

I can only set the data interval to "one day" but I wan to activate newsdatafeed. Can anyone help me? Thanks. ...

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

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

 
長崎良美

Why my order being closed immediately?

Hi I sent a market order with 1% stop loss condition like below. def = AlgoAPIUtil . OrderObject( ...

 
大聖

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

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

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

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

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

 
Zoro

on_bulkdatafeed 関数の「isSync」とは何ですか?

この例は技術文書で見ました。 「isSync」が何に使われるのか説明できる人はいますか? def = 'USDJPY' ...

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

 
shah

inconsistent price and volume data

I was exploring 09988HK dataset. I noticed that the volume and price data are not consistent and vary greatly from the data i have from my broker and also data from tradingview. Can i know the sour ...

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

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

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

 
Shum

哪裡可以查看algo運行情況?

剛剛訂閱了一個algo試用, 請問哪裡可以查看algo是否運作正常? ...

 
shah

how to get minute level data into Jupyter notebook

i have tried this by changing the D to M.. but it did not work ...