hootnot / oanda-api-v20

OANDA REST-V20 API wrapper. Easy access to OANDA's REST v20 API with oandapyV20 package. Checkout the Jupyter notebooks!
MIT License
398 stars 107 forks source link

Unit not accepting less than 1 #183

Closed cruizytrader closed 2 years ago

cruizytrader commented 2 years ago

BTC_USD was recently changed to accept micro units and 0.01 being the smallest by Oanda and removed the instrument MBTC_USD. There is now an error with an order made because it seems not to allow units less than 1. Please assist. John

hootnot commented 2 years ago

Fixed: the Units now accept integer, float with 1 decimal and float with 2 decimals

cruizytrader commented 2 years ago

Terrific. Thanks