Commit Graph

63 Commits (9d4ba767c4d7514001a52a780fa348a85f6260c8)

Author SHA1 Message Date
Matthias 4623c3ec1d Improve test resiliance
4 years ago
Matthias a96aa568bf Add binance futures mode checks
4 years ago
Matthias ca6dec3d4c Binance spot also allows market orders
4 years ago
Matthias 753d1b2aad Update leverage tier terminology to be clear and aligned with ccxt
4 years ago
Matthias a875a7dc40 Use unified stopPrice for binance
4 years ago
Matthias ea8fda0dee Slightly improve test
4 years ago
Matthias 681ef13174 Relax dry-run leverage test-case to simplify future updates
4 years ago
Sam Germain 591a2fb7fc switch notionalFloor -> minNotional and notionalCap -> maxNotional
4 years ago
Matthias 2b1a8f2fbb Update binance stoploss to use correct stop order for futures
4 years ago
Matthias de8d789962 Fix test missing assert statement
4 years ago
Sam Germain 124532a4b7 maintenanceMarginRatio -> maintenanceMarginRate
4 years ago
Matthias 1bae18c60a Update decorator locations
4 years ago
Sam Germain 3753df26fc fixed tests
4 years ago
Matthias ad801e05f7 Filter loadable leverage tiers to stake-currency pairs
4 years ago
Matthias bc855b2a32 Update some missing mocks
4 years ago
Sam Germain 8fe3f0c933 fix breaking tests
4 years ago
Sam Germain 03b3756e4b strengthened and fixed leverage_tier tests
4 years ago
Sam Germain a6043e6a85 get_max_leverage test clean up
4 years ago
Sam Germain eb72e5cc42 Added some exchange leverage tier tests
4 years ago
Sam Germain 3ebda1d29d Added test templated
4 years ago
Sam Germain 68a778a983 moved leverage_tiers to a fixture
4 years ago
Sam Germain 42e36f44f8 replaced "leverage" with "tiers"
4 years ago
Sam Germain a99cf2eeed redid get_max_leverage
4 years ago
Sam Germain a5aba4813d moved get_maintenance_ratio_and_amt to base.exchange. Wrote get_leverage_tiers. Added mmr_key to exchange._ft_has
4 years ago
Sam Germain 30519aa3be Changed name Collateral -> MarginMode, collateral -> margin_mode, and _supported_trading_mode_margin_pairs -> _supported_trading_margin_pairs
4 years ago
Sam Germain fc15e14707 Merge branch 'feat/short' into isolated-liq
4 years ago
Sam Germain 08e4a4a6dd binance.get_max_leverage_fix
4 years ago
Sam Germain 5cf54bee4d removed excess decimals in test_binance
4 years ago
Sam Germain 1f1ac8ce9d test_get_liquidation_price/test_get_maintenance_ratio_and_amt_binance/fill_leverage_brackets/test_validate_trading_mode_and_collateral TODO comments
4 years ago
Sam Germain bb2b2211d0 exchange.fill_leverage_brackets/get_maintenance_ratio_and_amt docstring and type specification
4 years ago
Sam Germain 2d545a2def fixed breaking tests for liquidation price
4 years ago
Sam Germain 69a6223ca0 implemented binance.get_maintenance_ratio_and_amt
4 years ago
Sam Germain 920151934a Added candle_type to a lot of methods, wrote some tests
4 years ago
Matthias f40221dd9f Merge branch 'develop' into feat/short
5 years ago
Matthias 9fa64c2647 Allow multiple calls to get more candles in live-run
5 years ago
Sam Germain fa74b95a01 reduced amount of code for leverage_brackets test
5 years ago
Sam Germain 2c21bbfa0c Fixed create order margin call count tests and made _ccxt_config a computed property
5 years ago
Sam Germain 32e52cd460 Added leverage brackets dry run test
5 years ago
Sam Germain dced167ea2 fixed some stuff in the leverage brackets binance test
5 years ago
Sam Germain 57c7926515 leverage updates on exchange classes
5 years ago
Sam Germain 7e0eb0adcf merged with feat/short
5 years ago
Sam Germain e070bdd161 set leverage more thorough tests
5 years ago
Sam Germain b0e05b92d3 Added minor changes from lev-exchange review
5 years ago
Sam Germain 2c7cf794f5 Test for short exchange.stoploss exchange.stoploss_adjust
5 years ago
Sam Germain 93da13212c test_fill_leverage_brackets_kraken and test_get_max_leverage_binance now pass but test_fill_leverage_brackets_ftx does not if called after test_get_max_leverage_binance
5 years ago
Sam Germain 97d1306e34 Added retrier to exchange functions and reduced failing tests down to 2
5 years ago
Sam Germain cd33f69c7e Wrote failing test_fill_leverage_brackets_binance
5 years ago
Sam Germain 607e403eb2 split test_get_max_leverage into separate exchange files
5 years ago
Sam Germain 134a7ec59b Implemented fill_leverage_brackets get_max_leverage and set_leverage for binance, kraken and ftx. Wrote tests test_apply_leverage_to_stake_amount and test_get_max_leverage
5 years ago
Sam Germain f4e26a616f Exchange stoploss function takes side
5 years ago