Search result found: 92


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

 
Jackson

How can I use custom dataset for backtesting?

Have anyone successfully uploaded their stock dataset and do backtesting? I cannot find the .csv file that I have uploaded, in the "backtest" script. Thank you. ...

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

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

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

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

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

 
Gary Fung

How to close orders by orderRef?

Hey there! I have a backtest script containing multiple strategies. I managed the orders in a way that orders opened from the same strategy will have the same order reference. ...

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

 
Edward

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

 
長崎良美

How to backtest with my own non-market datasets?

I looked at this article about backtesting with custom datasets, which ...

 
William Cheung

How to change leverage and currency for live test?

Hello, for the live test account, I would like to change the base currency to HKD , instead of USD also the leverage to 10 , instead of 5 ...

 
CHEN Chi Wei

Data Missing

I was testing my strategy for the algo challenge, but I saw for one moment the WTIUSD has data missing in 2022-01-17 while it should not. Is this a bug from market data feed? ...

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

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

 
小霸王

Question about Multi Currency Account

I see some brokers support multi-currency account. Just wondering are there any use cases specific for algo-trading? To me, it just like multi-currency account in bank for holding different ...

 
Duval LC

Mastering Python: 7 Essential Hacks for Text File Manipulation

Working with text files is a common task in programming, and Python makes it incredibly easy. Whether you're logging data, manipulating configurations, or analyzing datasets, leveraging Python’s po ...

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

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

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

 
David

How to query on-the-run future data?

Hello community! According to REST API Doc , I know I can query historical OHLC data for pla ...

 
ガッシュ

ディープラーニング モデルに関する経験の共有

ディープラーニング モデルに取り組んだ経験のある方はいらっしゃいますか? 私は取引戦略でディープラーニングを使用していますが、バックテストを完了するのに非常に時間がかかることがわかりました。計算速度を改善するためのアドバイスがあれば助かります。 ...

 
Duval LC

10 Powerful Python One-Liners Every Data Engineer Should Know

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

 
Chan Yu Sing

Close position with market order

I see the error "[2020-01-01 23:25:00] EvtSendOrder Error: the sendOrder attribute parm 'openclose' does not support value 'close' under position base environment." in the console. I am try ...