Hi everyone! Got following problem.
I've got algorithm which trades BTCUSDT Futures. In my code I'm trying to open two legs of the trade - 1. Perp futures; 2. if 1 is ok - spot . In backtesting everything works fine. BUT when I put my strategy on Paper portfolio and Live trading node (it's in US). I'm permanently getting an error that orders never filled.
How I'm setting it up:
Brokerage = Paper Trading
Region = America (NY7)
Selecting my Live trading node
Data Provider = QuantConnect
Then clicking "Deploy". But when it starts, in Orders and Logs I see that they are not filled:
1
|
6:07:22
:
Received live deployment request...
2
|
6:07:32
:
Logging into brokerage...
3
|
6:07:32
:
Paper Brokerage account base currency: USD
4
|
6:07:32
:
Initializing algorithm...
5
|
6:07:32
:
2026-08-13 18:07:28 Launching analysis for L-d15c668e27129f1d563478717fa804da with LEAN Engine v2.5.0.0.18265
6
|
6:07:32
:
2026-11-16 13:07:28 Run: 2020-01-01 -> 2030-01-01, InitialCapital 1,000,000 USDT, Preset conservative
7
|
6:07:32
:
2026-11-16 18:07:28 Changing account currency from USD to USDT...
8
|
6:07:32
:
2026-08-13 18:07:28 Algorithm starting warm up...
9
|
6:07:36
:
2026-10-29 13:00:00 Processing algorithm warm-up request 80%...
10
|
6:07:36
:
2026-11-16 18:07:29 Algorithm finished warming up.
11
|
6:07:36
:
2026-11-16 18:07:33 2026-11-16 18:07:33 LIVE DIAG subscriptions perp BTCUSDT (CryptoFuture, binance): TradeBar/Minute/Trade, QuoteBar/Minute/Quote, MarginInterestRate/Minute/Quote
12
|
6:07:36
:
2026-11-16 18:07:33 2026-11-16 18:07:33 LIVE DIAG subscriptions spot BTCUSDT (Crypto, binance): TradeBar/Minute/Trade, QuoteBar/Minute/Quote
13
|
6:07:36
:
2026-11-16 18:07:33 2026-11-16 18:07:33 LIVE ENTRY funding 6.14%: perp -10.361 submitted (order 1, New)
14
|
6:07:36
:
2026-11-16 18:07:34 New Order Event: Time: 11/16/2026 18:07:34 OrderID: 1 EventID: 1 Symbol: BTCUSDT Status: Submitted Quantity: -10.361
15
|
6:08:42
:
2026-11-16 18:08:40 New Order Event: Time: 11/16/2026 18:08:40 OrderID: 1 EventID: 2 Symbol: BTCUSDT Status: CancelPending Quantity: -10.361
16
|
6:08:42
:
2026-11-16 18:08:40 New Order Event: Time: 11/16/2026 18:08:40 OrderID: 1 EventID: 3 Symbol: BTCUSDT Status: Canceled Quantity: -10.361
17
|
6:08:42
:
2026-11-16 18:08:40 2026-11-16 18:08:40 LIVE TIMEOUT: perp leg of 'ENTRY funding 6.14%' (order 1) still Submitted after 60s; cancelling
18
|
6:08:42
:
2026-11-16 18:08:40 2026-11-16 18:08:40 LIVE DIAG at timeout: perp price 65309.75 bid 65309.7 ask 65309.8 last data QuoteBar ending 2026-11-16 00:00:00 open True hasData True | spot price 65351.05 bid...
19
|
6:08:42
:
2026-11-16 18:08:40 2026-11-16 18:08:40 LIVE perp leg of 'ENTRY funding 6.14%' (order 1) Canceled, filled 0 of -10.361
20
|
6:08:42
:
2026-11-16 18:08:40 2026-11-16 18:08:40 PAIR TIMED OUT: perp leg of 'ENTRY funding 6.14%'; retried at the next hourly decision
Any ideas what can it be?
P.S. My quick research tells me thatit could be Data Provider - maybe I need to select Binance? Exchange But when I do this, it tells me “Binance Exchange is not available in America. Choose another region, brokerage or data provider.”
Help and/or ideas are highly appreciated!
MarketsGator
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
This discussion is closed