Commit Graph

11 Commits

Author SHA1 Message Date
Sam Germain
6083568d56 Updated interest and ratio calculations to correct functions 2021-07-10 20:44:57 -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