LEAN is the open source
algorithmic trading engine powering QuantConnect. Founded in 2013 LEAN has been built by a
global community of 80+ engineers and powers more than a dozen hedge funds today.
Alpha League Competition: $1,000 Weekly Prize Pool
Qualifying Alpha Streams Reentered Weekly Learn
more
Daily, Hour Minute and Second strategies with those and others in the tutorial library.
Currency Neutral hedgeing using correlated assets like USDCHF EURUSD.
Currency Carry Trades
Using spread correlation between positively correlated assets to signal buy/sell squeezes such as AUDUSD AUDCAD...When the spread between these 2 prices travels wide from each other, you would buy one and sel lthe other.
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.
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.
Jared Broad
Pro
,
What about trading economics AUD economy data; as a factor for the currency strength?
I always start with - what fundamental real-world causes impact my assets? For FX - inflation, politics, exports set the trend - then you can use technicals for short term purchasing.
1
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.
Apollos Hill
9.9k Pro
,
Thanks Jared, I don't think i knew we had that data for forex. I will look into this. I'm more of a technicals guy but i guess i could try something new!
0
Apollos Hill
9.9k Pro
,
Jared Broad Do you know why my algo is stuck waiting for the TradingEconomics.Calendar.UnitedStates.CoreInflationRate to find the key? (in my containsKey function)?
0
Alexandre Catarino
Pro
,
Hi Apollos Hill ,
I think the problem is that it is returning if usdrate or usdinfla are not present in Slice. Maybe while it should return if usdrate and usdinfla and trade because one of the two has new data.
0
Apollos Hill
9.9k Pro
,
No that is not it because if i take out the usdrate or udsinfla and just trade off of the usdrate announcements, it still gets stuck at waiting for keys. Please see this backtest.
0
Alexandre Catarino
Pro
,
Hi Apollos Hill ,
Please make the following changes in the algorithm:
# Using the data is the same as other data types:
if (not data.ContainsKey(self.usdrate) and
not data.ContainsKey(self.usdinfla)):
return
usdrateannouncement = data[self.usdrate] if data.ContainsKey(self.usdrate) else \
self.Securities[self.usdrate].GetLastData()
usdinflaEvent = data[self.usdinfla] if data.ContainsKey(self.usdinfla) else \
self.Securities[self.usdinfla].GetLastData()
Since the data is sparse, and it doesn't fill forward, the current code will return in either ContainsKey check for TradingEconomicsCalendas Symbol.
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.
Loading...
To unlock posting to the community forums please complete at least 30% of Boot Camp. You can
continue your Boot Camp training progress from the terminal. We
hope to see you in the community soon!