Sam Germain
|
4b81fb31fb
|
Changed the name of a test to match it's equivelent
Removed test-analysis-lev
|
2021-07-26 23:09:47 -06:00 |
|
Sam Germain
|
f1dc6b54ad
|
Updated interest and ratio calculations to correct functions
|
2021-07-26 23:09:47 -06:00 |
|
Sam Germain
|
358f0303b9
|
updated ratio_calc_profit function
|
2021-07-26 23:09:47 -06:00 |
|
Sam Germain
|
7f75c978a0
|
All persistence margin tests pass
Flake8 compliant, passed mypy, ran isort .
|
2021-07-26 23:09:47 -06:00 |
|
Sam Germain
|
86888dbbf0
|
Took liquidation price out of order completely
|
2021-07-26 23:09:47 -06:00 |
|
Sam Germain
|
a19466c085
|
Moved leverage and is_short variables out of trade constructors and into conftest
|
2021-07-26 23:09:47 -06:00 |
|
Sam Germain
|
2aa2b5bcff
|
Added checks for making sure stop_loss doesn't go below liquidation_price
|
2021-07-26 23:09:46 -06:00 |
|
Sam Germain
|
3328707a1d
|
made leveraged test names unique
test_adjust_stop_loss_short, test_update_market_order_shortpasses
|
2021-07-26 23:09:46 -06:00 |
|