MT5 Bridge for Bitmex Bybit and binance

Aug 17, 2019 at 20:40
9,068 Views
35 Replies
Biedrs kopš   140 ieraksti
Aug 17, 2019 at 20:40
Hello,

I would like to build a bridge from mt5 to crypto exchanges for trading via api. I have written the bridge to binance for manual trading and now testing robot trading.

I would to hear your view on the best way to handle positions ( positions don't exist in an exchange) since you are holding coin A or B.

Trading on bitmex and bybit is similar to Forex since positions exist but lotsizes are often in usd contracts instead of mt5 lotsizing.
Be humble
Biedrs kopš   140 ieraksti
Aug 20, 2019 at 13:57




Here is the simple UI layed over the chart window and indicator window together to display the button panel and the market statistics

Pielikumi

Be humble
Biedrs kopš   140 ieraksti
Nov 10, 2019 at 09:29
I've been running a market maker bot on mt5 and sending the trades to Bitmex. You can see the account under my profile called 'crypto telegram trader' , When then equity line is running flat is normally when I am running the market maker bot. It will record a loss on mt5 because of the spreads and commission while I earn profit at bitmex from the rebates while using limit orders.




Pielikumi

Be humble
Biedrs kopš   57 ieraksti
Nov 10, 2019 at 14:55
update us about your binance bridge pls
every beautiful garden has a strong hedge around
Biedrs kopš   171 ieraksti
Nov 12, 2019 at 19:53
Ain't that called churning, which is prohibited in rebate programs usually?
Biedrs kopš   140 ieraksti
Nov 13, 2019 at 13:08
niceGLer posted:
Ain't that called churning, which is prohibited in rebate programs usually?
Cryptocurrency trading is a lot different than forex. Exchanges encourage market making because it adds liquidity to their books and helps other traders enter and exit their positions with less slippage. As a result, some exchanges offer rebates to traders who use limit orders(maker) instead of market orders(taker). You can learn more about this on my steemit blog https://steemit.com/cryptocurrency/@hedgebitcoin/why-market-making-is-essential-for-all-crypto-currencies
Be humble
Biedrs kopš   140 ieraksti
Nov 13, 2019 at 13:11
tacet posted:
update us about your binance bridge pls
Currently supports all markets with limit orders and market orders. (OCO, stop orders, and stop limit are still in development).
You can fetch the price, orderbooks, wallets, open orders with my UI. If there are any other features you need let me know.

I'll be working on the BinanceFutures shortly.
Be humble
Biedrs kopš   57 ieraksti
Nov 14, 2019 at 08:35
tradeFX4btc posted:
tacet posted:
update us about your binance bridge pls
Currently supports all markets with limit orders and market orders. (OCO, stop orders, and stop limit are still in development).
You can fetch the price, orderbooks, wallets, open orders with my UI. If there are any other features you need let me know.

I'll be working on the BinanceFutures shortly.

good, continue - could be very interesting.
every beautiful garden has a strong hedge around
Biedrs kopš   140 ieraksti
Jan 09, 2020 at 09:53
Happy New Years everyone,

I am testing binance futures now. Anyone interested in testing and bug reporting. Binance Futures has a testnet so it wouldn't cost you anything to try it out besides your time.
Be humble
Biedrs kopš   57 ieraksti
Jan 09, 2020 at 18:10
why futures, not standard trade?
every beautiful garden has a strong hedge around
Biedrs kopš   140 ieraksti
Jan 11, 2020 at 09:56
tacet posted:
why futures, not standard trade?

Binance exchange is already supported. I had a few traders interested in margin trading with binance futures.
Be humble
Biedrs kopš   140 ieraksti
Jan 23, 2020 at 05:01
What is it? MT5 platform with custom trading UI.

How does it work? The software connects to the crypto exchanges via rest api.

What connection type? You enter your api keys within the software, and you can trade from mt5 to any of the listed exchanges.

Is automated trading available? You can also run bots within mt5 and send the orders to the exchange.


If you need specific tasks, I can code more functionality within the UI. For example the b.Ask and b.Bid buttons will place Limit orders on TOP of the book to earn rebates for manual market making. ( this was my strategy for the BTC BRAWL competition at bybit.)
Be humble
Biedrs kopš   140 ieraksti
Feb 07, 2020 at 10:32
You can also run bots within mt5 and send the orders to bitmex, bybit, and binance

Be humble
Biedrs kopš   4862 ieraksti
Feb 14, 2020 at 10:07
tradeFX4btc posted:
What is it? MT5 platform with custom trading UI.

How does it work? The software connects to the crypto exchanges via rest api.

What connection type? You enter your api keys within the software, and you can trade from mt5 to any of the listed exchanges.

Is automated trading available? You can also run bots within mt5 and send the orders to the exchange.


If you need specific tasks, I can code more functionality within the UI. For example the b.Ask and b.Bid buttons will place Limit orders on TOP of the book to earn rebates for manual market making. ( this was my strategy for the BTC BRAWL competition at bybit.)

Don't take me wrong, perhaps you made a lot of work to allow users to trade comfortly on exchange.
But where exactly need users to enter their API keys? Is it safe?
Biedrs kopš   140 ieraksti
Mar 24, 2020 at 04:28
togr posted:
tradeFX4btc posted:
What is it? MT5 platform with custom trading UI.

How does it work? The software connects to the crypto exchanges via rest api.

What connection type? You enter your api keys within the software, and you can trade from mt5 to any of the listed exchanges.

Is automated trading available? You can also run bots within mt5 and send the orders to the exchange.


If you need specific tasks, I can code more functionality within the UI. For example the b.Ask and b.Bid buttons will place Limit orders on TOP of the book to earn rebates for manual market making. ( this was my strategy for the BTC BRAWL competition at bybit.)

Don't take me wrong, perhaps you made a lot of work to allow users to trade comfortly on exchange.
But where exactly need users to enter their API keys? Is it safe?

The robot is coded in mql5 , The libraries use SHA256 to encrypt the api keys (standard practice to interact with exchange rest api). Yes, it is 100% safe because the web requests only interact with the exchanges and I don't use any licensing software to spy on the users. Once the user downloads the robot, enters api keys, they have a close circuit to trade freely without relying on any external servers for authentication. It took me a long time to figure out how to make this software secure, user friendly, and safe for everyone.

Thank you for your questions and concerns.
Be humble
Biedrs kopš   140 ieraksti
Apr 04, 2020 at 11:54
I've made a MQL5 file 'robot example' where you can use the Libraries to make your own UI or robot. The cryptobridge that I have built works fine for most robots and manual trading but there are a few traders that wish to code their own bots and use the exchange bridge commands with their own code and ideas. Enjoy

Pielikumi

Be humble
Biedrs kopš   4 ieraksti
Apr 11, 2020 at 20:12 (labots Apr 11, 2020 at 20:12)
Import quotes from the Binance platform (Binance exchange) to the Metatrader 5 terminal. You only need a visual display (you need to test strategies on history), you do not need to configure the ability to trade. You will need to display all the tools currently available on Binance. Is there such an indicator?
Biedrs kopš   140 ieraksti
Apr 15, 2020 at 13:38
Sure, broker Genesismarkets/GenesisVision has all binance markets within metatrader 5 for data. There is also cryptocharts on MT5 marketplace to get the candle stick data from a lot of crypto exchanges.

What I have built here is a bridge to run robots on mt5 and send these trades/signals directly to the exchanges. I wanted to cut out the expensive commission at GenesisMarkets, so that market making would be more profitable for me.
Be humble
Biedrs kopš   140 ieraksti
Apr 16, 2020 at 18:36
I have recoded all the libraries, made a Class to access all the cryptobridge functions, and I am sharing a pingpong bot. The new Class (code structure) was designed for very quick and efficient coding. I created a ping pong market maker bot (coded it within a few minutes). Check out the source code in attachment. Wiki on github will be finished shortly.

Pielikumi

Be humble
Biedrs kopš   2 ieraksti
May 10, 2020 at 14:56
Hi @tradeFX4btc, I found this post while trying to google for whether or not it's possible to use myfxbook to record trades from bitmex. But it looks like you're talking about something else, which I'm also interested in using! But do you know if it's possible to use myfxbook to connect to bitmex and do trade analytics?
Pieslēgties / Sign Up to comment
You must be connected to Myfxbook in order to leave a comment
*Spams netiks pieļauts, un tā rezultātā var slēgt kontu.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.