Comments (6)
Yes, that is correct. When creating a CmdtyStorage instance with ratchets, a negative number in the 3-tuples represents withdrawal. This was motivated by making the API clearer as the tuples don't show explicitly which element is the injection and which is the withdrawal rate. The example GUI didn't follow this convention as it is expected to be used by less technical users, so I wanted to make it as easy to use as possible. For ratchets in the GUI a header in the table makes it clear which number is injection or withdrawal, and users don't have to type in a minus sign in the usual case where there isn't forced injection.
from storage.
This is not about negative numbers but that in the widget you're creating ratchet object with the order
Date, Inventory, -InjectionRate, WithdrawalRate
while your documentation states it should be
Date, Inventory, -WithdrawalRate, InjectionRate
from storage.
OK, understood, and that does sound like a bug. I’ll take a look at the weekend.
from storage.
Crikey, that's a howler of a bug! Should be fixed now. Thanks @londown for spotting and flagging this. Please pull the latest code, check it looks ok for you and then close this issue accordingly.
from storage.
Thanks. Can I suggest an additional change to replace lines 185-186
for idx, title in enumerate(titles):
tab.set_title(idx, title)
with
tab.titles = titles
from storage.
Thanks. Can I suggest an additional change to replace lines 185-186
for idx, title in enumerate(titles): tab.set_title(idx, title)
with
tab.titles = titles
I tried this and it didn't work. Think it must be because I'm using an older version (7.6.5) of ipywidgets.
from storage.
Related Issues (20)
- Document Multi-Factor Helper Classes
- Mean reversion for three-factor seasonal model HOT 25
- Tidy Up Python Build/CI/Test Dependencies and Fix Versions
- Discount Factors Rather Than Interest Rates Provided by Caller
- Volatility and Correlation of Traded Forward Contracts
- Separate Nomination Dates From Delivery Dates
- Create .NET Console App
- Allow Excel Add-in Two Calculation Modes HOT 1
- More Vectorisations with MKL
- Fix Warnings on Creating Python Package
- Fix C# Coverage
- Add C# Sample for LSMC Valuation
- Set up Sample Notebooks with Binder
- Move Delta Calculation out of Core Valuation Code HOT 1
- Include Standard Error in LSMC Results
- Calculate and Return Standard Error of Delta
- Standard Error Bug
- Use SVD for Regression in LSMC
- issues with extrinsic expected profile HOT 2
- Example Python code for calibrating the 3-factor seasonal model will be added to this repo later.
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 storage.