Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 752 Bytes

time.md

File metadata and controls

27 lines (23 loc) · 752 Bytes

Time

CurrentModule=Trading

Time is represented by the standard DateTime from Base.Dates and ZonedDateTime from TimeZones.jl for more precise timing.

!!! note

- A standard `DateTime` will be assumed to be in central Europe / Zurich time
- Trading.jl is at present not aware of holidays or other market altering behavior, i.e. trading days are assumed to always be Monday-Friday; 9:30am - 4pm.

Utility Functions

These can be pulled into the main namespace by using Trading.Time.

current_time
market_open_close
in_day
previous_trading_day
is_market_open
is_market_close
only_trading

Clock

Clock