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 ...
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 ...
Following the article Guideline to backtest with custom datasets , we learnt how to upload custom data to the system for backtest ...
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 ...
Hi, I am a participant of the CASH Algo Trading competition. I have a question as title. I read this article Underst ...
Hello, I am now studying to be aware of Algogene's backtesting engine. I run this code and the result shows this result. CODE class AlgoEvent: ...
I looked at this article about backtesting with custom datasets, which ...
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. ...
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 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 ...
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 ...
Hi, my team is working on an algo project. Can we code and comment a backtest script at the same time? ...
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__() "? ...
Hello, I am currently trying to implement our teams' strategy on the backtesting platform. However, I tried to use other instruments such as gold price, but it seems I can only select Crypto data. I h ...
I encountered below danger message during backtesting. I am wondering what it is about and how to get rid of it. Thank you! ...
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. ...
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( ...
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? ...
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 ...
Hello community! According to REST API Doc , I know I can query historical OHLC data for pla ...
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 ...
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. ...
Hello, I found that the close order API only support market order. How can I close a position using limit order? ...
Following this post , I have trained a model using the online Juypter Notebook. My question is how can I dep ...
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. ...