market-maker | Vastly Improved BitMEX Market Making Algo | Bot library
kandi X-RAY | market-maker Summary
kandi X-RAY | market-maker Summary
This market maker works on the following principles:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create a new key
- Request Bitmex API
- Log an error message
- Connect to the websocket
- Connect to the websocket
- Return authentication information
- Generate HMAC signature
- Return the ticker for the given symbol
- Return the instrument with the given symbol
- Import a module
- Cancels an order
- Cancel an order
- Start BitMEX Market Maker
- Place orders in place
- Main loop
- Check if files have changed
- Reset the exchange
- Cancels all open orders
- Prompt user for keys
- Use bitmex
- Create BitMEX object
- Create bulk orders
- Place a buy order
- Place a new order
- Get ticker data
- List API keys
market-maker Key Features
market-maker Examples and Code Snippets
Community Discussions
Trending Discussions on market-maker
QUESTION
I have a super simple program that uses Urwid for text-based UIs:
...ANSWER
Answered 2021-Apr-10 at 19:43I managed to get it working by putting it inside a Filler object
QUESTION
I was getting bad performance on an Angular Material table. When I checked the console I could see it was binding each row multiple times although I can't see what's triggering it. I have reduced my code as simple as I can and I am still seeing the issue.
There are 257 rows, but the count in being logged to the console counts to 1542, which means each row seems to be being bound 6 times. The formatting function decimalTimeToHours should be called once for each row. Any ideas why it's binding so many times?
...ANSWER
Answered 2021-Apr-01 at 07:10The reason your decimalTimeToHours
method is getting called so many times relates to how Angular change detection works. Angular keeps track of any bindings in the HTML template, and updates the browser dom when the underlying value changes. But, this isn't a magical process. In order to know when an underlying value changes, Angular has to manually keep checking if these values have changed. It takes the current value and compares it against the last value it saw for that binding. If the value changes, it updates the dom. The finer details of how and when this detection process runs is a huge topic. The important part, though, is that when change detection runs (which appears to be happening 6 times) it goes to your binding to get the current value.
The problem stems from your use of a function there right in the template. Each time change detection wants to evaluate the value, it has to call that function in order to determine the value (which creates a new string each time), and then compares that against the old string. Not a huge problem, but it's something you could easily be avoiding. One solution would be to use an angular pipe to format the data the way you want to see it in the table:
QUESTION
I am wanting to install a pip package on Debian but when I install it using
...ANSWER
Answered 2019-Nov-07 at 15:18To run the libraries you first need to be inside the python environment.
At your terminal try:
QUESTION
The program works when run using:
...ANSWER
Answered 2017-Mar-30 at 18:10The Problem
pyexcel-io
uses a method for including plug-ins that pyinstaller does not support. See this issue.
The Workaround
The work around for this issue has a couple of facets.
Change needed to pyexcel
I have submitted a Change Request which shows how to modify pyexcel to allow it to work with pyinstaller. Basically pyexcel-io needs to know how to find frozen modules.
If the pyexcel guys pick up the Change Request, then that will get you going. But if they don't, or you are in a hurry, then copying the changed file from the change request into your site package directory as pyexcel_io/__init__.py
will get pyexcel working.
But, pyinstaller also needs to know what to include.
pyinstaller also needs to know to include the required module. So on the pyinstaller command line you will also need to do:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install market-maker
Create a [Testnet BitMEX Account](https://testnet.bitmex.com) and [deposit some TBTC](https://testnet.bitmex.com/app/deposit).
Get dependencies: python setup.py install This will create a settings.py file at the root. Modify this file to tune parameters.
Edit settings.py to add your [BitMEX API Key and Secret](https://testnet.bitmex.com/app/apiKeys) and change bot parameters. Note that user/password authentication is not supported. Run with DRY_RUN=True to test cost and spread.
Run it: ./marketmaker [symbol]
Satisfied with your bot’s performance? Create a [live API Key](https://www.bitmex.com/app/apiKeys) for your BitMEX account, set the BASE_URL and start trading!
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page