-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Margin trading support, #184
base: master
Are you sure you want to change the base?
Conversation
including Isolated buy sell , market buy, query max borrow and calculating the purchase power. additional close positions (sell and put)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR it contains a lot which is great! Please follow the comments given and as a bonus add some more tests or example data to the Console application and documentation README.md
etc. And then we can merge this in 👍
} | ||
else if(asset == ((dynamic)x).quoteAsset.asset.Value) | ||
{// the requested asset is the one used for quotes | ||
freeCoins = decimal.Parse(((dynamic)x).quoteAsset.free.Value); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it called freeCoins
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
free is like cash, i used their term (.baseAsset.free.Value) - the free amount you may use.
regarding Coins, i'll take any suggestion
Co-authored-by: Jon Evans <[email protected]>
Adding isolated account info response updating .gitignore
…ince it uses market command internally
including Isolated buy sell , market buy, query max borrow and calculating the purchase power.
additional close positions (sell and put)
Overview
Solved Issues
N/A
Installation
N/A
Acceptance and Testing Steps
Other Notes