Latest
Hot
I'm developing a quantitative trading strategy using the moomoo client's quantitative strategy platform. I've encountered an issue when trying to save and load the strategy state. The log shows an error: 'ERROR: Unexpected error while saving strategy state: Open file for writing is forbidden: strategy_state.json'.
Is file read/write operations not allowed in moomoo's quantitative strategy en...
Is file read/write operations not allowed in moomoo's quantitative strategy en...
Hi, am I able to use the DMI indicator in the condition card? Thanks.
2
hi there! i love moomoo algo. it is a lot of fun to backtest strategies.
i am working on a futures trading algorithm and i am having some trouble placing a limit order on the contracts.
here's what's happening:
given
Backtesting Account - Futures account selected
when
i run a backtest with
place_limit(symbol=Contract('US.NVDA241115C130000'), ...)
then
i receive
"The account cannot trade this contract"
if i use the securities account i receive
"Unavailable to trade"
normal symbol ...
i am working on a futures trading algorithm and i am having some trouble placing a limit order on the contracts.
here's what's happening:
given
Backtesting Account - Futures account selected
when
i run a backtest with
place_limit(symbol=Contract('US.NVDA241115C130000'), ...)
then
i receive
"The account cannot trade this contract"
if i use the securities account i receive
"Unavailable to trade"
normal symbol ...
3
I signed up for moomoo thinking I could use its API to perform Algo trading but now I see they no longer support their API . Is it just me having this issue? How do you guys perform algo trading
2
I see we can add multiple trigger symbols to one strategy. When the event is triggered, the event is logged in the running log. I didn't find a way to print which symbol(in my case which stock) is this event triggered for. Anyone has any idea? Thanks.
I tried to define a global variable to a symbol and throught I can assign to the triggered symbol in the code after the condition is triggered but it doesn't have this option
I tried to define a global variable to a symbol and throught I can assign to the triggered symbol in the code after the condition is triggered but it doesn't have this option
![how to print the triggered symbol of the triggered event](https://sgsnsimg.moomoo.com/sns_client_feed/102184816/20240405/e7ce834291739f49f01b42c4e67e8214.jpg/thumb?area=101&is_public=true)
2
5
I have tested the code to do place buy orders and backtested the code. It works on entering new buy positions. However, when I try to use liquidate these buy positions, it does not work on backtest. Is it not possible to backtest closing positions? Do I use liquidate or do I use sell orders to close these positions?
1
1
Hello, I am new here. How to remove one of my own strategies?
1
2
how to create a quant that say, SMA20 crosses SMA50, trigger buy?