Skip to content

improve pnl calc#630

Merged
wakamex merged 6 commits intomainfrom
wakamex/improve_pnl_calc
Jul 11, 2023
Merged

improve pnl calc#630
wakamex merged 6 commits intomainfrom
wakamex/improve_pnl_calc

Conversation

@wakamex
Copy link
Copy Markdown
Contributor

@wakamex wakamex commented Jul 5, 2023

calculate marginal and full updates of open share price
remove empty positions from wallet

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
elf-simulations ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 11, 2023 1:40am

@wakamex wakamex marked this pull request as draft July 5, 2023 22:11
@wakamex wakamex force-pushed the wakamex/improve_pnl_calc branch from 602d6d4 to 16e4a68 Compare July 6, 2023 17:32
@wakamex wakamex marked this pull request as ready for review July 6, 2023 17:34
Comment thread elfpy/utils/apeworx_integrations.py Outdated
Copy link
Copy Markdown
Contributor

@dpaiton dpaiton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a top level docstring explaining the get_wallet_from_trade_history function logic in more detail? I'm having trouble following what is going on from the in-line comments & code. This will also make it easier to maintain functionality when we switch to web3.

Comment thread elfpy/utils/apeworx_integrations.py Outdated
Copy link
Copy Markdown
Contributor

@dpaiton dpaiton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for getting this done!

@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4940 🚀

@github-actions
Copy link
Copy Markdown

Remaining rate limit: 4930 🚀

@wakamex wakamex merged commit 34678f6 into main Jul 11, 2023
@wakamex wakamex deleted the wakamex/improve_pnl_calc branch July 11, 2023 01:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants