Why my order being closed immediately?
Hi I sent a market order with 1% stop loss condition like below. def = AlgoAPIUtil . OrderObject( ...
Hi I sent a market order with 1% stop loss condition like below. def = AlgoAPIUtil . OrderObject( ...
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 ...
I looked at this article about backtesting with custom datasets, which ...
Hey ALGOGENE Team! I hope you’re doing well! I’m currently working on a fully automated AI trading system on my local machine using Cursor with some LLM models. I’ve been diving into the ALGOGENE platform, and I’m re ...
Hello community! According to REST API Doc , I know I can query historical OHLC data for pla ...
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 ...
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 ...
We are pleased to announce that ALGOGENE is now available as a plugin for MetaTrader (MT4 and MT5)! ...
I am able to place order and got this error " Invalid order is rejected due to insufficient capital " Here is my code. Please help! ...
Hello, I found that the close order API only support market order. How can I close a position using limit order? ...
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 ...
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 ...
How to access news data feed and how to change the parameter of news data feed function? And does it output a dataframe or a dictionary? ...
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 ...
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 ...
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? ...
The much-anticipated Python 3.14 was officially released on October 7, 2025, marking the latest evolution of the world's most popular programming language. While we can’t promise it tastes like des The Python Steering Council has been hard at work, and 3.14 marks a significant milestone in the "Faster CPython" project. From a mature JIT compiler to smarter error handling, here is everything y ...
Hi, my team has registered for the CASH Algo Trading Challenge 2023 . How can we backtest our strategy? ...
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, 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 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 ...
Hi, I am a participant of the CASH Algo Trading competition. I have a question as title. I read this article Underst ...
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 ...
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 ...
I find the portfolio optimizer very useful for building portfolio. How can I integrate this tool in my backtest? ...