simulation logic uses fixed-point arithmetic
What's Changed
- The repository now primarily uses fixed-point arithmetic
- Python bots can execute trades on simulated blockchains as well as deployed contracts on any test net
- Renamed the Github org name to Delv Tech
- Bugfixes
- Code, comment, typing, and docs cleanup to improve readability and repo structure
PRs
- Convert Yieldspace pricing model to fixed point by @sentilesdal in #338
- lightens gridlines & ticklabels to make them more visible in dark mode by @dpaiton in #339
- adds HyperDriveFP & test by @dpaiton in #340
- catch URLs better by @wakamex in #343
- make freezable type-friendly by @wakamex in #344
- calc_spot_price with fixed-point by @dpaiton in #345
- fixed-point calc out given in test by @dpaiton in #341
- Convert Wallet to FixedPoint by @sentilesdal in #348
- fixed point base market by @dpaiton in #351
- Convert hyperdrive_actions to fixed point by @sentilesdal in #352
- testnet bots by @wakamex in #327
- fix README badge links by @wakamex in #355
- adds infinite and nan support for FixedPoint by @dpaiton in #353
- adds fixed-point test_get_max by @dpaiton in #347
- fixed-point hyperdrive and borrow markets by @dpaiton in #356
- fixed-point agent by @dpaiton in #350
- Convert Policies to Fixed Point by @sentilesdal in #357
- Cache python dependencies by @sentilesdal in #358
- adds typeerror to freezable casting checks by @dpaiton in #362
- Fix-point wallet updates by @dpaiton in #360
- add fixed point str mod floor by @dpaiton in #363
- fixes bug with open short calculation by @dpaiton in #361
- Convert Simulator to FixedPoint by @sentilesdal in #364
- FP pricing_model_utils and add_liquidity tests by @dpaiton in #349
- pylintrc - allow duplicate code by @sentilesdal in #370
- Fixed Point Tests - Open Long and Open Short by @sentilesdal in #368
- moves test_borrow over to fixed-point by @dpaiton in #367
- fixed-point test_sim by @dpaiton in #371
- renames element fi to delv tech by @dpaiton in #366
- Change GH org name by @ryangoree in #372
- Downgrade urllib3 by @ryangoree in #375
- adds fp freezable, logging, config, time tests by @dpaiton in #373
- add github token to CI flows by @wakamex in #379
- FixedPoint - fix string casting by @sentilesdal in #380
- reorganize fixed-point classes by @dpaiton in #376
- rewrites attributes for BlockTime to be safer with type checking by @dpaiton in #374
- Fixed Point Tests - Fees, Checkpoints, Initialize by @sentilesdal in #378
- Fixed Point Tests - Close Long and Close Short by @sentilesdal in #369
- Fixed Point Tests - Withdraw shares by @dpaiton in #381
- Fixed Point Tests - Remove liquidity by @dpaiton in #377
- add HyperdriveProject by @wakamex in #409
- add get_market_state in ape_utils by @wakamex in #411
- add get_on_chain_trade_info to ape_utils by @wakamex in #413
- fix codecov badge in README.md by @wakamex in #422
- add get_gas_fees and get_gas_stats to ape_utils by @wakamex in #418
- add get_wallet_from_onchain_trade_info to ape_utils by @wakamex in #416
- add get_agent_deltas to ape_utils by @wakamex in #420
- fix: count to and from separately for wallet balance by @wakamex in #424
- bugfix in freezable.astype, import rename, remove example_main by @dpaiton in #436
- Correct various fix-point bugs by @dpaiton in #437
- fix bug with failed trade modifying market state by @dpaiton in #439
- FixedPoint - examples by @dpaiton in #382
- patch smart agent notebook by @dpaiton in #442
- consistent and descriptive variable names in apeworx integrations by @dpaiton in #441
- random_agent disable get_max calls by @wakamex in #443
- add get_contract helpers to ape_util by @wakamex in #445
- FixPoint conforms to python
numbers.Real
specification by @dpaiton in #446 - renames variables in fixedpoint to be more clear by @dpaiton in #449
- Updating install documentation by @slundqui in #450
- pins typing_extensions by @dpaiton in #454
- make FixedPoint hashable for dictionary keys by @dpaiton in #451
- Docstring style fix by @slundqui in #452
- adds better input checking to FixedPoint initializer by @dpaiton in #455
- build python-base docker image by @wakamex in #447
- build elf-sims docker image by @wakamex in #456
- reorganize fixedpoint tests by @dpaiton in #457
- integrated bots by @wakamex in #386
- consolidate evm_bots.py for testnet and devnet by @wakamex in #461
- Modify apeworx demo & utils to use FixedPoint lib by @dpaiton in #462
- removes float-based functions from elfpy by @dpaiton in #459
- Jupytext notebooks to html docs by @slundqui in #465
- update FixedPoint bool and int behavior to match python by @dpaiton in #458
- don't lint .venv in hyperdrive by @sentilesdal in #489
- Fixing fixed point bug for float mod 1 by @slundqui in #486
- remove deepcopy from fixedpoint by @dpaiton in #485
- Building notebooks in docs by @slundqui in #490
- Remove use of defaultdict by @sentilesdal in #492
- restores a checkpoint test by @dpaiton in #493
- generalized bot settings working with FixedPoint by @wakamex in #484
- Using shallow copies of FixedPoint for immutable FixedPoint object for performance by @slundqui in #495
New Contributors
- @ryangoree made their first contribution in #372
- @slundqui made their first contribution in #450
Full Changelog: v0.1.0...v0.1.1