issues
search
drift-labs
/
driftpy
python sdk to interact with drift v2
https://drift-2.gitbook.io/driftpy-for-dummies/
65
stars
41
forks
source link
Update fuel.py
#205
Open
KhalidMustafin
opened
1 month ago
KhalidMustafin
commented
1 month ago
Type annotations have been added.
A helper function calculate_scaled_fuel has been created to optimize calculations.
A constant SCALED_QUOTE_PRECISION has been introduced.
Input data validation and error handling have been added.
Docstrings have been added to all functions.