Releases: DogsTailFarmer/martin-binance
Releases · DogsTailFarmer/martin-binance
martin-binance 2.0.3
2.0.3 - 2023-12-01
Fix
- Backtesting, Simulation mode
Update
- solve(): The limit of attempts has been increased
- calc_over_price(): The range of changes in the number of orders has been expanded
martin-binance 2.0.2
2.0.2 - 2023-11-26
Fix
- Version tags
2.0.1 - 2023-11-26
Fix
- "Groggy" state after start canceling grid before update it
Update
- Improved calc_over_price()
2.0.0.post2 - 2023-11-24
Fix
- Exception buffered_orders: 'NoneType' object is not subscriptable #68
2.0.0.post1 - 2023-11-23
Fix
- Fix issue detected by SonarCloud
2.0.0 - 2023-11-23
Fix
- Order price must be higher than the minimum price #67
Update
- Up requirements for exchanges-wrapper==1.4.0
- Some minor improvements
2.0.0rc8 - 2023-11-16
Fix
- Handling of partially filled TP when Reverse hold
- Part filled TP and part filled grid orders, unnecessary adjustment sum_amount_
Update
- Refine cli_X_AAABBB.py
- Remove db support to module
- Remove Telegram support to module
- README.md updated
- Clear from margin code fragments compatibility
- decimal.Decimal calculation for all modules was implemented
- Up requirements for exchanges-wrapper==1.4.0rc6
2.0.0rc1 - 2023-11-01
Added for new features
- Bybit exchange V5 API support implemented. Supported account type is
Unified Trading Account,
for main and sub-accounts. Spot Trading only.
Update
- Lost compatibility with margin.de terminal. Scripts developed for use with the terminal can be run as
executable modules, but not the other way around. - The logic and implementation of monitoring exceptional situations when placing and deleting orders has been updated.
- Improved gRPC outage exception handling
- Up requirements
martin-binance 1.3.7.post3
1.3.7.post3 - 2023-10-09
Fix
- calc_profit_order(): rounding issue when correction tp amount on step_size
Update
- Up requirements for exchanges-wrapper==1.3.7.post4
martin-binance 1.3.7.post2
1.3.7.post2 - 2023-10-05
Fix
- Refine exception handling when deleting a grid of orders, one of which is partially filled
Update
- Up requirements for exchanges-wrapper==1.3.7.post3
martin-binance 1.3.7.post1
1.3.7.post1 - 2023-09-30
Fix
- Sonarcloud issues
1.3.7 - 2023-09-30
Update
- Up requirements for exchanges-wrapper==1.3.7.post2
1.3.7b1 2023-09-26
Added for new features
- Save trading (filling orders) and transfer asset history into a file
~/.MartinBinance/log/X_AAABBB.csv
headers:
"TRADE","transaction_time","side","order_id","client_order_id","trade_id","order_quantity","order_price","cumulative_filled_quantity","quote_asset_transacted","last_executed
"TRANSFER","event_time","asset","balance_delta"
data:
"TRADE","1695745010026","SELL","9850221","4815001","1716764","0.00539700","26193.86000000","0.00539700","141.36826242","0.00539700","26193.86000000"
"TRANSFER","1695745010027","LTC","-0.001"
martin-binance 1.3.6.post1
1.3.6.post1 2023-09-25
Update
- Limit for grid updates, updated when:
- For Original cycle: the amount of free deposit not involved in the turnover more than 35%
- For Reverse cycle: the amount of free deposit not involved in the turnover more than 65%
martin-binance 1.3.6
1.3.6 2023-09-24
Fix
- Due to a rounding error, the order status was incorrectly fetched if it was partially completed
Update
- Up requirements for exchanges-wrapper==1.3.7.post1
Added for new features
- To boost trade in case of low market volatility: TP order is updated once every 15 minutes,
and in Reverse cycle grid update once an hour
1.3.5-1.dev1
- Fix: Error getting internal id while re-placing grid order
1.3.5-1.dev0
- Update: On-the-fly update assets with withdrawal and deposit operations also for Reverse cycle
martin-binance 1.3.5
1.3.5 2023-09-19
Fix
- Fix: Incorrect calculated depo volume for grid update, not include held grid orders volume
- Up requirements for exchanges-wrapper to 1.3.7
Update
- Restored MS_ORDERS, convert from list to dict (inter-version compatibility), clear
martin-binance 1.3.4
1.3.4rc5-1 2023-08-24
Update
relaunch.py
: update deprecation method forlibtmux==0.22.1
Fix
1.3.4rc5 2023-08-20
Fix
- Up requirements for exchanges-wrapper to 1.3.6b7
1.3.4rc4-5 2023-08-19
Fix
- Up requirements for exchanges-wrapper to 1.3.6b6
- Up other requirements
- Some minor improvements
1.3.4rc4-4
Fix
v1.3.4rc2 2023-08-10
Info
- Starting with version
martin-binance 1.3.4
, compatibility withmargin
will be lost, since some new parts
of the code are no longer supported by implementedPython 3.7
. I'm focused onPython 3.10
.
I won't rid the code of numerous compatibility elements yet, so if the margin team will update its version,
everything should work.
v1.3.4rc1 2023-08-09
Fix
-
Processing of the situation when at bulk cancel of the grid orders and one or more of orders are FILLED.
- cancel loop is interrupted
- orders with received CANCELED status are restored
- status is requested for unconfirmed orders and processing is performed: recovery if status is CANCELED,
- normal processing in case of filling in
-
Processing of the situation when after partially filled TP one or some or all grids are filled
-
executor.get_free_assets(mode='free')
: incorrect balance for opposite asset (always 0),
as a result - a negative value of free funds -
margin_wrapper.restore_state_before_backtesting()
: tmp upgrade issue - convert cls.orders to dict
Added for new features
OoTSP.py
: add interactive option Get parameters for specific trial
Update
- Backtesting: 100% repeatability of test and initial sessions at the same parameters is achieved.
Ticker history includes fulfillment events that may not be in the original stream. I.e. the order was executed
at price P, and there was no such price in the stream at a given time period. This led to a divergence of the test
session against the original (reference).
README.md
: some design correction- Remove parameter
ex.EXTRA_CHECK_ORDER_STATE
and the corresponding function - Up requirements for grpcio to 1.56.0
- Up requirements for exchanges-wrapper to 1.3.4
martin-binance 1.3.3
v1.3.3 2023-07-04
Added for new features
- Send alarm (to db) if exist unreleased grid orders or hold TP
- Up requirements for exchanges-wrapper to 1.3.3