Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Doggie52/Lean-Zoned-Time-Of-Day-Consolidator

Open more actions menu

Repository files navigation

LEAN Zoned Time Of Day Consolidator

LEAN Zoned Time Of Day Consolidator is an unofficial, alternative consolidator for QuantConnect's LEAN Engine that consolidates bars once a day at a specific time of day in a given timezone.

Precise bar consolidation is important in many aspects of trading, in particular in Forex and Commodity markets that tend to trade throughout the day in different timezones.

Getting Started

Usage:

  • Set your data resolution to at least Resolution.Hour. If your time of day has a minute-component, you will need Resolution.Minute. Same if your time of day has a second-component (Resolution.Second).
  • Example: Consolidate bars at 3AM London time every day:
MyConsolidator = new ZonedTimeOfDayQuoteBarConsolidator(
	dailyCloseTime: TimeSpan.FromHours( 3 ),
	closeTimeZone: "Europe/London",
	exchangeTimeZone: security.Exchange.TimeZone.ToString()
);

Acknowledgments

About

Consolidator for QuantConnect LEAN; Consolidates bars once a day at a specific time of day in a given timezone

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.