DanielNobbe / Forex

0 stars 0 forks source link

Refactor Interpreter and trading to use Euros as units #21

Open DanielNobbe opened 3 years ago

DanielNobbe commented 3 years ago

Currently, trading uses the value in target currency (e.g. USD for pair EUR_USD) to make trades. It would be more natural to define the number of units in the source currency (e.g. EUR) when trading from EUR. This is also more natural in working with Oanda, since the units are requested in the source currency anyway.