Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fxspinnaker/node_v01
MMBot
https://github.com/fxspinnaker/node_v01
Last synced: 3 months ago
JSON representation
MMBot
- Host: GitHub
- URL: https://github.com/fxspinnaker/node_v01
- Owner: fxspinnaker
- Created: 2020-10-07T15:47:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-10T14:59:23.000Z (about 4 years ago)
- Last Synced: 2024-02-11T22:46:35.071Z (9 months ago)
- Language: JavaScript
- Homepage:
- Size: 228 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-loopring - Community trading bot
README
# node_v01
MMBotThis Bot,
reads from Binance the symbols that were indicated on markets.js and creates Buy / Sell orders on Loopring.To access the account at Loopring, you need to create the file credentials.js (use credentials.example.js as an example).
The file markets.js has 6 fields:
Binance Symbol
Loopring Symbol
Amount Token by order
Spread (price difference between Buy Limit and Sell Limit)
Additional Delta (tuning my final price Buy / Sell)
Inventory (not used at moment)The Bot reads the Ask / Bid at Binance, calculates the average price (MidPrice).
Buy Limit Order = MidPrice - (Spread / 2) - AdditionalDelta
Sell Limit Order = MidPrice + (Spread / 2) + AdditionalDeltaIt is optimized for the use of 1 market, however more can be placed, but the speed is much higher than that allowed by the Rate Limit in Loopring and this will eventually imply the block of the IP by Loopring and orders stop entering.
New versions will emerge ......
To run the Bot just "node app.js"