Welcome to ypricemagic’s documentation!

Time to price some shitcoins!

There is a lot of stuff in ypricemagic’s docs that you probably won’t need as a typical user. I’ve collected the most interesting components of the library here for your convenience.

The main use case for this library is the pricing of shitcoins. y.get_price handles that for you.

If you do not know the block number but you know the timestamp at which you need your price, you first need to calculate it using this function:

Usually, if you need one price you need more than one. The next two functions enable you to price multiple tokens in a streamlined, concurrent manner.

There are some powerful tools for interacting with deployed contracts in the contracts module.

To learn about the rest of ypricemagic’s capabilities, navigate the library structure below.

Indices and tables