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 ...
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 ...
Hi I sent a market order with 1% stop loss condition like below. def = AlgoAPIUtil . OrderObject( ...
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 ...
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? ...
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 ...
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 ...
Suppose we already have a python package/function created on a local machine. This article will guide you through the steps to plug into ALGOGENE for backtest, live-test or real-trading. ...
New features For more feasibility of our platform, ALGOGENE now supports new features: import multiple custom data files specify user-defined file formats ...
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 ...
What market data is available on ALGOGENE? The list below will get update from time to time. ASSET CLASS SYMBOL DESCRIPTION AVAILABLE FROM ...
I find the portfolio optimizer very useful for building portfolio. How can I integrate this tool in my backtest? ...
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 ...
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 question regarding position netting. From the Tech Doc description here , it mentioned that PL will be realized when the ...
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. ...
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 ...
I encountered below danger message during backtesting. I am wondering what it is about and how to get rid of it. Thank you! ...
Hey, I followed this post to upload my data ( https://algogene.com/community/post/26 ). How can I query my custom instrument ...
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 ...
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? ...
Hi, my team is working on an algo project. Can we code and comment a backtest script at the same time? ...
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 ...
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 ...
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 ...
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. ...