Comments (11)
Hello @hosseinab,
did you download it and put with triarb_kucoin.py on the same folder? :
from crypto-triangular-arbitrage-bot.
hi @MfaXyz
from crypto-triangular-arbitrage-bot.
@hosseinab, so maybe you should run first_step() and second_step() to create new json!
from crypto-triangular-arbitrage-bot.
@MfaXyz
thank you for answer . this problem fixed .
i get another error :
{'profit_loss': 0.0036818770215720775, 'real_rate_perc': 0.0248817957743147, 'swap_1': 'BTC', 'contract_1': 'BTC-USDT', 'bid_con_1': '20127', 'swap_2': 'USDT', 'contract_2': 'SOLVE-USDT', 'ask_con_2': '0.03506', 'swap_3': 'SOLVE', 'contract_3': 'SOLVE-BTC', 'bid_con_3': '0.000001735', 'contract_1_direction': 'base_to_quote', 'contract_2_direction': 'quote_to_base', 'contract_3_direction': 'base_to_quote'}
BTC-USDT
{'first_amount1': 14.79747304, 'base_increment1': 8, 'available_amount1': '14.79747304', 'final_amount1': '14.64949831'}
Traceback (most recent call last):
File "C:\Users\Hosein\PycharmProjects\Crypto-Triangular-Arbitrage-Bot\triarb_kucoin.py", line 667, in <module>
third_step()
File "C:\Users\Hosein\PycharmProjects\Crypto-Triangular-Arbitrage-Bot\triarb_kucoin.py", line 604, in third_step
buy = client.create_market_order(real_rate_arb['contract_1'],
File "C:\Users\Hosein\AppData\Local\Programs\Python\Python310\lib\site-packages\kucoin\trade\trade.py", line 164, in create_market_order
return self._request('POST', '/api/v1/orders', params=params)
File "C:\Users\Hosein\AppData\Local\Programs\Python\Python310\lib\site-packages\kucoin\base_request\base_request.py", line 99, in _request
return self.check_response_data(response_data)
File "C:\Users\Hosein\AppData\Local\Programs\Python\Python310\lib\site-packages\kucoin\base_request\base_request.py", line 116, in check_response_data
raise Exception("{}-{}".format(response_data.status_code, response_data.text))
Exception: 200-{"code":"200004","msg":"Balance insufficient!"}
from crypto-triangular-arbitrage-bot.
@hosseinab, so I think you should have BTC to trade!
from crypto-triangular-arbitrage-bot.
@MfaXyz Base Currency in this bot is BTC ?
from crypto-triangular-arbitrage-bot.
@hosseinab, yes.
and you should look at this comment:
from crypto-triangular-arbitrage-bot.
@MfaXyz ok . thank you .
Can I set the base currency on the usdt?
from crypto-triangular-arbitrage-bot.
@MfaXyz ok . thank you .
Can I set the base currency on the usdt?
Yes.
from crypto-triangular-arbitrage-bot.
@MfaXyz How is it done?
from crypto-triangular-arbitrage-bot.
@MfaXyz How is it done?
you should review code.
from crypto-triangular-arbitrage-bot.
Related Issues (6)
- bug HOT 3
- Error HOT 3
- Account not exist HOT 3
- Video explanation HOT 2
- Test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crypto-triangular-arbitrage-bot.