Comments (2)
Yes, looking back 5 years ago it was not a good idea to implement initcache
or bdays
taking a symbol as input, although incremental compilation was not even a thing back then. I will definitely remove these methods in a future release.
Please, replace your code with the following, and you should be good.
module MyModule
using BusinessDays
BusinessDays.initcache(BusinessDays.UnitedStates())
function foo(x, y)
bdays(BusinessDays.UnitedStates(), x, y)
end
end # module
from businessdays.jl.
Delightful - that worked great. Many thanks.
from businessdays.jl.
Related Issues (20)
- Test this package against QuantLib, not RQuantLib
- introduce bdayscount(calendar, dt0, dt1) :: Int
- Friday not defined HOT 3
- Advancebdays bug with reverse order ranges HOT 1
- [Breaking] changes for HolidayCalendarCache
- Chinese stock calendar support
- Error in using BusinessDays HOT 1
- Create alias BrazilB3 for old BrazilBMF HOT 1
- HolidayCalendarCache is not type stable
- UKSettlement got wrong holiday date for Early May Bank Holiday HOT 1
- [Breaking] Remove methods that take symbol as argument for Holiday Calendars
- Issue with TARGET calendar HOT 1
- US Juneteenth HOT 4
- Add type to easily add or substract business days
- Create GenericHolidayCalendar where weekends are business days HOT 4
- Include end date in calculation HOT 1
- UK 2022 banking holidays move HOT 1
- bdays and bdays count give wrong number of business days HOT 3
- Fix USGovernmentBond calendar regarding juneteenth
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from businessdays.jl.