bug-or-feature / pysystemtrade-fsb

Systematic spread betting in Python
https://pysystemtrade-fsb.bugorfeature.net/
GNU General Public License v3.0
10 stars 2 forks source link

Implement capital and margin properly #32

Closed bug-or-feature closed 1 year ago

bug-or-feature commented 1 year ago

Currently we get the total capital from IG, then return that value multiplied by 0.8 as a guess of the margin. We don't need to do this, the margin is returned in the same response object - they call it deposit

:facepalm:

bug-or-feature commented 1 year ago

Done