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__() "? ...
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__() "? ...
Hi, my team is working on an algo project. Can we code and comment a backtest script at the same time? ...
この例は技術文書で見ました。 「isSync」が何に使われるのか説明できる人はいますか? def = 'USDJPY' ...
Hey there, any one know how to set transaction cost as a percentage in backtest? ...
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 ...
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. ...
隨著科技的進步,傳統的投資方式逐漸被量化交易所取代。量化交易,簡單來說,就是利用數學模型和程式化的方式分析市場,並自動執行交易。對於想要在金融市場中取得優勢的投資者來說,量化交易無疑是一個值得探索的選擇。 ...
I have a question regarding position netting. From the Tech Doc description here , it mentioned that PL will be realized when the ...
Hi there, I have developed several simple trading strategies. Following the optimization method from the youtube tutorial ( ...
Hello, I found that the close order API only support market order. How can I close a position using limit order? ...
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 " ...
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 ...
Hi , is it possible to import a cython module into the strategy code to use its functions ? ...
I looked at this article about backtesting with custom datasets, which ...
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 ...
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 ...
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? ...
Following this post , I have trained a model using the online Juypter Notebook. My question is how can I dep ...
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
I find the portfolio optimizer very useful for building portfolio. How can I integrate this tool in my backtest? ...