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 ...
Dear AlgoGene support team, I found it took time to run backtest, the work got lost if got disconnected. Is there a way to run the backtest in backend in batch? ...
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 ...
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? ...
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 ...
i have tried this by changing the D to M.. but it did not work ...
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 " ...
I have a question regarding position netting. From the Tech Doc description here , it mentioned that PL will be realized when the ...
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. ...
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 ...
Hello community, I have a question regarding the dataset on the platform. I use the getHistoricalBar ...
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 ...
Hey, I have a trading strategy which trade on a basket of many stocks and rebalance weekly. The current system needs to manually choose the stocks one by one. It is too time consuming and not ...
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__() "? ...
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 ...
Hey, I followed this post to upload my data ( https://algogene.com/community/post/26 ). How can I query my custom instrument ...
I am able to place order and got this error " Invalid order is rejected due to insufficient capital " Here is my code. Please help! ...
Hi all, I tried using the openai library for analyzing news data, but it returns error "unsupported_country_region_territory" How can I fix it? ...
Hi , is it possible to import a cython module into the strategy code to use its functions ? ...
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 ...
Hey there, I am a participant of the Algo Trading Challenge 2023/24 (Global) . Just want to clarify whether t ...
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 ...
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 ...
Hey there, any one know how to set transaction cost as a percentage in backtest? ...
Hi, I am a participant of the CASH Algo Trading competition. I have a question as title. I read this article Underst ...