Latest
Hot
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
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?
How to calculate variable?
Let's say I want to calculate 3% of latest Price?
Let's say I want to calculate 3% of latest Price?
1
Moomoo Lily : @Moomoo Buddy Please help assist it.
Moomoo Buddy : For details about Quant( Algo) Trading, please check moomoo.com/topi... Currently, as moomoo US we don't support trading futures. Thanks for your support.
ssssddddOP Moomoo Buddy: okay, thanks for following up. i am looking forward to if this becomes available for my region.