Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'module' object is not callable FAILURE INITIALIZE #30

Open
PwnAppleTea opened this issue Mar 1, 2019 · 4 comments
Open

'module' object is not callable FAILURE INITIALIZE #30

PwnAppleTea opened this issue Mar 1, 2019 · 4 comments

Comments

@PwnAppleTea
Copy link

Hello, I get the following when I get an attempt to placing an ARB order:

Binance Arbitrage Function Data Collection - Running

List of Arbitrage Symbols: ['ETHBTC', 'EOSETH', 'EOSBTC']
Currency Pair: ETHBTC Exchange Rate: 0.03565200
Currency Pair: EOSETH Exchange Rate: 0.02635400
Currency Pair: EOSBTC Exchange Rate: 0.00094040
[0.035652, 0.026354, 0.0009404, datetime.datetime(2019, 3, 1, 10, 45, 5, 350313)]
Buy: 0.035652
Sell: 0.03568338772102907
Arbitrage Possibility - Potential Profit (Percentage): 0.0879617184176885%

Potential Fees (Percentage): 0.30000000000000004
Adjusted Profit (Percentage): -0.21203828158231153
PLACING ORDER

STARTING TRI ARB PAPER TRADING FUNCTION

'module' object is not callable

FAILURE INITIALIZE

Restarting

@PwnAppleTea
Copy link
Author

I also made an adjustment here:

def arbitrage_bin(list_of_sym, tickers, portfolio, cycle_num=1, cycle_time=30, place_order='Yes', real_order='Yes'):

@Roibal
Copy link
Owner

Roibal commented Mar 1, 2019

Hi, are you using Tri Arb Trader? I have been seening this exact error 'module not callable' many times from different sources, this seems to be the new bottleneck / source of errors. Can you find out which lines are running and which line causes that error?

@PwnAppleTea
Copy link
Author

Hi, are you using Tri Arb Trader? I have been seening this exact error 'module not callable' many times from different sources, this seems to be the new bottleneck / source of errors. Can you find out which lines are running and which line causes that error?

Hello, yes this is from BinanceTriArbTrader.py

@PwnAppleTea
Copy link
Author

I believe that I have found these lines to have been the issue:

PLACING ORDER

STARTING TRI ARB PAPER TRADING FUNCTION

Traceback (most recent call last):
File "E:/RoibalCrypto/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/Private_TriArbBot.py", line 990, in
run()
File "E:/RoibalCrypto/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/Private_TriArbBot.py", line 69, in run
initialize_arb()
File "E:/RoibalCrypto/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/Private_TriArbBot.py", line 452, in initialize_arb
calc_profit_list.append(arbitrage_bin(arb_market, tickers, portfolio, 1, 1))
File "E:/RoibalCrypto/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/Private_TriArbBot.py", line 643, in arbitrage_bin
portfolio, start, coin2, coin3, final = tri_arb_paper(portfolio, list_of_sym, exch_rate_list)
File "E:/RoibalCrypto/python-binance-master/examples/Cryptocurrency-Trading-Bots-Python-Beginner-Advance-master/Private_TriArbBot.py", line 820, in tri_arb_paper
pprint(tri_arb_paper_msg)
TypeError: 'module' object is not callable

FAILURE INITIALIZE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants