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

How does evn connect to Binance for actual transactions #6

Open
wuzxc1230123 opened this issue Jul 4, 2023 · 7 comments
Open

How does evn connect to Binance for actual transactions #6

wuzxc1230123 opened this issue Jul 4, 2023 · 7 comments

Comments

@wuzxc1230123
Copy link

I have a well-trained model, how should I switch the env to connect to Binance, is there any support here?

@ClementPerroud
Copy link
Owner

ClementPerroud commented Jul 6, 2023 via email

@wuzxc1230123
Copy link
Author

wuzxc1230123 commented Jul 7, 2023 via email

@BY571
Copy link

BY571 commented Aug 19, 2023

any news regarding this?

@Karlheinzniebuhr
Copy link

I can't speak for the author of this repository. But I've built a trading engine from scratch for Binance. A stable trading engine is not something you want to hack together into a reinforcement learning environment. That's like expecting a car to be a smartphone or a smartphone to be a car. It just doesn't make sense since they are both big projects with entirely different goals.

@BY571
Copy link

BY571 commented Aug 20, 2023

@Karlheinzniebuhr Can you share some insights on how you build yours? I think it's not shared publicly on your GitHub or at least I didn't find it

@wuzxc1230123
Copy link
Author

I don't know how to create such code. Can I refer to your code

@Karlheinzniebuhr

@Karlheinzniebuhr
Copy link

Karlheinzniebuhr commented Sep 7, 2023

@Karlheinzniebuhr Can you share some insights on how you build yours? I think it's not shared publicly on your GitHub or at least I didn't find it

its not open source (thinking about making it OS) but I'll give you some insights. I used the python-binance library. Then it really depends on the nature of your bot, for example if your bot runs in fixed intervals, just create a python trigger that runs every hour for example. Once the trigger runs, you check your AI or trigger conditions, if the conditions are OK to launch a trade, you execute an order via python-binance. I recommend using batch orders with Futures since you can send your order, stop-loss and take-profit all at once. Of course, there are many more things the engine needs to handle but you will see what is missing depending on the type of bot you have.

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

4 participants