Skip to content
#

currency

Here are 1,153 public repositories matching this topic...

classic0
classic0 commented Feb 16, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

First off, thanks for the great library.

.allocate() function has unexpected behaviour when given falsy input.

Expected behavior

I expected an error:
TypeError: You must provide a non-empty array of numeric values greater than 0

Steps to reproduce

try {
    Din
bug good first issue v1
FinancePy
ahabre
ahabre commented Aug 8, 2021

Is there a way to calibrate a discount curve from traded fx forwards?

Taking USDJPY as an example. As an input I have the fx spot, 1M, 3M and 6M forwards , I have also built a USD OIS discount curve. I want to create a JPY discount curve such that I can reprice correctly all of the fx forwards I observe in the market. Is that possible with the current library?

As an extension to the above,

cmackeen
cmackeen commented Aug 6, 2020

It is unclear how to use something like get_token_balance() with respect to the Uniswap v2 factory contract. I am trying to view the amount of a token in the Uniswap v2 liquidity pool, and it seems all I can check is the ERC20 token balance globally.

Edit: I see now I can use get_ex_token_balance(), but I am receiving the Uniswap v1 pool amounts. When I switch to version 2 the Factory methods

enhancement good first issue

Improve this page

Add a description, image, and links to the currency topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the currency topic, visit your repo's landing page and select "manage topics."

Learn more