How to set swap fee in backtest?
Hey everyone! I’m working on an FX trading algo that’s been performing pretty well, but I want to make sure I include realistic assumptions for real market conditions. I know that swap fees are pretty common in ...
Hey everyone! I’m working on an FX trading algo that’s been performing pretty well, but I want to make sure I include realistic assumptions for real market conditions. I know that swap fees are pretty common in ...
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 ...
If you spend your days stitching together ETL jobs, watching dashboards, and taming semi‑structured logs, Python one‑liners can feel like superpowers. They compress intent into readable, testable s ...
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. ...
Hi there, I have developed several simple trading strategies. Following the optimization method from the youtube tutorial ( ...
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 ...
In the summary report, there is a financing metric. Can anyone explain how it works? My capital at the lowest was 70k, drawdown max -2.5% but there is financing value shown in the summary report. By r ...
Hey everyone! I was running a backtest for AAPL, and noticed the market price suddenly dropped by over 90%. I think this happened because of a stock split. Does anyone know how I can backtest using adjusted pric ...
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? ...
Hello, I want to ask about the function of getHistoricalBar. For example in backtesting, I want to get the historical 2min bar data of certain instrument and calculate some indicato ...
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? ...
Following this post , I have trained a model using the online Juypter Notebook. My question is how can I dep ...
Following the article Guideline to backtest with custom datasets , we learnt how to upload custom data to the system for backtest ...
Hey, I followed this post to upload my data ( https://algogene.com/community/post/26 ). How can I query my custom instrument ...
Hi I sent a market order with 1% stop loss condition like below. def = AlgoAPIUtil . OrderObject( ...
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__() "? ...
Hey, I am new to the platform. As title, how can I get current account balance in backtest? ...
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, ...
i have a invite cript which source code i cannot acccess and i want to make it auto trade .indicator is on trading view and it generates buy sell alerts i want as soon as i get any alert it trade in m ...
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. ...
Hi, my team is working on an algo project. Can we code and comment a backtest script at the same time? ...
I looked at this article about backtesting with custom datasets, which ...
A data format is the arrangement of data fields. It defines how data is encoded for storage in a computer file, and the way to display and process. A good data researcher should at least know: ...
May I know if this error is triggered by insufficient virtual memory? How could I solve this? Thank you so much ...
I encountered below danger message during backtesting. I am wondering what it is about and how to get rid of it. Thank you! ...