0.2.1-alpha.2 • Published 1 year ago

@saffron-finance/dashi v0.2.1-alpha.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Dashi - A library to simulate Saffron Fixed Income Vaults

We created Dashi, a library written in Typescript, to facilitate the calculations of the outcome from a Saffron Fixed Income Vault (SFIV) in different scenarios. The library has didactic purposes but it can be used to incorporate the SFIV into more complex market simulations.

The Saffron Fixed Income Vault is a factory contract written in Solidity that implements a decentralized version of a reverse zero coupon swap.

Disclaimer

This is an experimental library, use it at your own risk. Please let us know of any bugs.

Installation

Dashi is an NPM package and to install it to a node project we run:

npm install @saffron-finance/dashi

Usage example (ToDo)

Previous versions

Usage example (version 0.1.32 and below)

Conclusion

The Dashi library on NPM makes it easy to simulate scenarios of the Saffron Fixed Income Vault contracts. It can be used to test market strategies combined with other instruments or to simply calculate the outcome of a contract given a specific set of market conditions. These market conditions can be generated by a function that simulates a random variable with particular characteristics and takes specific values to test hypotheses or historical market data to simulate what would have been the performance of the instrument if existed at a point in the past.

0.2.0-alpha.0

1 year ago

0.2.0-alpha.2

1 year ago

0.2.0-alpha.1

1 year ago

0.2.0-alpha.4

1 year ago

0.2.0-alpha.3

1 year ago

0.2.0-alpha.5

1 year ago

0.2.1-alpha.2

1 year ago

0.2.1-alpha.0

1 year ago

0.1.32

1 year ago

0.1.31

1 year ago

0.1.28

1 year ago

0.1.27

1 year ago

0.1.26

1 year ago

0.1.25

1 year ago

0.1.24

1 year ago

0.1.23

1 year ago

0.1.22

1 year ago

0.1.21

1 year ago

0.1.20

1 year ago

0.1.19

1 year ago

0.1.18

1 year ago

0.1.17

1 year ago

0.1.16

1 year ago

0.1.15

1 year ago

0.1.13

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.5

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago