Commit Graph

17 Commits

Author SHA1 Message Date
Sam Germain
f5cae7cdf8 Merge branch 'develop' into margin-db 2021-07-14 20:36:51 -06:00
Sam Germain
2a814ebad0 Changed the name of a test to match it's equivelent 2021-07-13 22:54:33 -06:00
Sam Germain
c26bee5601 Added tests for set_liquidation_price and set_stop_loss, updated params in interestmode enum, updated leverage docs 2021-07-12 22:13:34 -06:00
Sam Germain
93d4332012 Removed unneccessary whitespace 2021-07-10 22:39:39 -06:00
Sam Germain
6083568d56 Updated interest and ratio calculations to correct functions 2021-07-10 20:44:57 -06:00
Sam Germain
2bcfaabcf8 test prsistence leverage passes with new ratio calc 2021-07-08 05:59:13 -06:00
Sam Germain
c753bd0ddc updated ratio_calc_profit function 2021-07-08 05:37:54 -06:00
Sam Germain
963bb89087 ran isort . 2021-07-08 00:12:39 -06:00
Sam Germain
8f5150e831 Flake8 compliant 2021-07-07 22:24:30 -06:00
Sam Germain
03595bf951 Took liquidation price out of order 2021-07-07 20:21:02 -06:00
Sam Germain
0d6210c837 Moved leverage and is_short variables out of trade constructors and into conftest 2021-07-07 01:06:51 -06:00
Sam Germain
26ee6470f4 Pass all but one test, because sqalchemy messes up 2021-07-07 00:43:06 -06:00
Sam Germain
d73473d45c updated todos 2021-07-06 00:11:43 -06:00
Sam Germain
2fedbfbcd2 Added checks for making sure stop_loss doesn't go below liquidation_price 2021-07-06 00:07:14 -06:00
Sam Germain
f607920ad6 test_adjust_stop_loss_short passes 2021-07-05 22:43:51 -06:00
Sam Germain
0f2952e90c made leveraged test names unique 2021-07-05 22:11:52 -06:00
Sam Germain
9ca588c780 test_update_market_order for shorts passes 2021-07-05 22:01:46 -06:00