LeaveMyYard / BitmexGridTrader

The grid strategy bot for trading on bitmex with the PyQt5 User Interface
MIT License
35 stars 21 forks source link

Problem runing trade.py #2

Closed budaspriestsl closed 4 years ago

budaspriestsl commented 4 years ago

Hi, I'm taking this message running trade.py after instalation of requeriments.txt

C:\Users\Tester\Downloads\BitmexGridTrader-master>python trade.py Traceback (most recent call last): File "trade.py", line 27, in main() File "trade.py", line 21, in main window = MainWindow(loop) File "C:\Users\Tester\Downloads\BitmexGridTrader-master\sourse\ui\mainwindow.py", line 73, in init self.handle = BitmexExchangeHandler(*self.current_settings.get_current_keys()) TypeError: Can't instantiate abstract class BitmexExchangeHandler with abstract methods get_symbols_data

I try using linux and i'm taking the same issue, please can you help me?

m4ryou5h commented 4 years ago

I have the same issue. Running python 3.8.3

m4ryou5h commented 4 years ago

I tried adding API keys but it didn't help to start it. I guess this is hardcoded for mainnet as I couldn't find switch for testnet?

caressgents commented 4 years ago

@LeaveMyYard I am getting the exact same error as above

LeaveMyYard commented 4 years ago

As I answered in other issue #1 , it is a bug in my other library, that is used in this project and I will fix it in 24 hours.

As soon as it will be fixed, I will write here.

LeaveMyYard commented 4 years ago

As I wrote in #1

I've updated CryptoFuturesPy to 0.4.3, found and fixed some connector bugs. Also, updated this project to support new features of this library in 6a8b9c1e8266909ecbe2b082d8162da77414cb31 Now, it should start and work fine, just run pip install -r requirements.txt or just pip install crypto-futures-py==0.4.3

Try to update a project files and launch it.

Keep in mind, that there could exist some other bugs. For example, "Stop bot" button will not stop the grid from being updated, so I propose to close the bot window entirely to stop the bot. Also, always check your orders directly on bitmex to be sure that nothing went wrong.

Feel free to write here or to open a new issue if something will still work wrong :)

LeaveMyYard commented 4 years ago

Also, please, keep in mind, that settings templates are not tested not profitable. They are provided just as test ones to show how a feature should work.