File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed
Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
55and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 1.1.1] - 2024-09-07
8+ ### Fixed
9+ - main profit result display
10+
711## [ 1.1.0] - 2024-09-07
812### Added
913- networkx dependencies
Original file line number Diff line number Diff line change 22 <img src =" illustration.jpeg " width =" 250px " height =" 250px " alt =" Triangular illustration " >
33</p >
44
5- # Triangular Arbitrage by OctoBot [ 1.1.0 ] ( https://github.com/Drakkar-Software/Triangular-Arbitrage/blob/master/CHANGELOG.md )
5+ # Triangular Arbitrage by OctoBot [ 1.1.1 ] ( https://github.com/Drakkar-Software/Triangular-Arbitrage/blob/master/CHANGELOG.md )
66[ ![ PyPI] ( https://img.shields.io/pypi/v/OctoBot-Triangular-Arbitrage.svg )] ( https://pypi.python.org/pypi/OctoBot-Triangular-Arbitrage/ )
77[ ![ Dockerhub] ( https://img.shields.io/docker/pulls/drakkarsoftware/octobot-triangular-arbitrage.svg?logo=docker )] ( https://hub.docker.com/r/drakkarsoftware/octobot-triangular-arbitrage )
88
Original file line number Diff line number Diff line change 99 benchmark = os_util .parse_boolean_environment_var ("IS_BENCHMARKING" , "False" )
1010 if benchmark :
1111 import time
12+
1213 s = time .perf_counter ()
13-
14+
1415 # start arbitrage detection
1516 print ("Scanning..." )
1617 exchange_name = "binance"
1718 best_opportunities , best_profit = asyncio .run (detector .run_detection (exchange_name ))
19+
20+
1821 def opportunity_symbol (opportunity ):
1922 return symbols .parse_symbol (str (opportunity .symbol ))
20-
23+
24+
2125 def get_order_side (opportunity : detector .ShortTicker ):
2226 return 'buy' if opportunity .reversed else 'sell'
2327
28+
2429 if best_opportunities is not None :
2530 # Display arbitrage detection result
2631 print ("-------------------------------------------" )
27- print (f"New { round (best_profit , 4 ) } % { exchange_name } opportunity:" )
32+ print (f"New { round (best_profit - 1 , 5 ) * 100 } % { exchange_name } opportunity:" )
2833 for i in range (3 ):
29- print (f"{ i + 1 } . { get_order_side (best_opportunities [i ])} { str (best_opportunities [i ].symbol )} " )
34+ print (f"{ i + 1 } . { get_order_side (best_opportunities [i ])} { str (best_opportunities [i ].symbol )} " )
3035 print ("-------------------------------------------" )
3136 else :
3237 print ("No opportunity detected" )
Original file line number Diff line number Diff line change 11PROJECT_NAME = "OctoBot-Triangular-Arbitrage"
2- VERSION = "1.1.0 "
2+ VERSION = "1.1.1 "
You can’t perform that action at this time.
0 commit comments