Search result found: 93


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

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

 
Zoro

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

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

 
Terminator

How to set transaction cost as a percentage?

Hey there, any one know how to set transaction cost as a percentage in backtest? ...

 
大聖

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

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

 
Nicole

量化交易: 投資也能開外掛?

隨著科技的進步,傳統的投資方式逐漸被量化交易所取代。量化交易,簡單來說,就是利用數學模型和程式化的方式分析市場,並自動執行交易。對於想要在金融市場中取得優勢的投資者來說,量化交易無疑是一個值得探索的選擇。 ...

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

 
金爺

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

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

 
shah

REST API frequency

For the competition we should be having access to minute data right? But when i am trying to access minute data using REST API it gives the following error " ...

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

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

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

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

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

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

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

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

 
Duval LC

Python Project: Build an AI Face Detection Alarm System with Your Webcam

Python is widely recognized as a leading language for artificial intelligence and computer vision projects. By harnessing the capabilities of libraries like OpenCV and MediaPipe, you can create an ...

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

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

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

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