want to automate your trading? i will show you exactly how to automate your trading from scratch even if you have no tech skills, fancy degree or any idea how to get started. in my algo trade camp i made short concise training videos, give you access to all of my code + invite you to my private quant community. join here before i close it to new entrants: algotradecamp.com/
Hey man, your videos are incredibly valuable. Hopefully some day I will become a reasonably good algo trader and even meet you. Greetings from Spain, amigo
If you're using ccxt you should use ccxt's names for coin pairs. The ccxt coin pair names are unified for every exchange (ccxt converts them to the exchange name) and will also determine if you are trading spot or swap. The format is "BTC/USDT" for spot on every exchange and "BTC/USDT:USDT" for perpetual contracts in every exchange.
Hello! Thank you for watching my tutorial on how to use CCXT to make a trading bot. I appreciate your question about configuring a proxy when connecting to an exchange. When it comes to configuring a proxy with CCXT, you can follow a few simple steps. Here's how you can do it: 1. Determine your proxy details: First, you need to obtain the necessary information about your proxy, including the proxy IP address, port number, and any authentication credentials if required. 2. Set up the proxy configuration: In CCXT, you can configure the proxy by creating an exchange instance with the appropriate settings. Here's an example: python import ccxt exchange = ccxt.binance({ 'proxy': 'your-proxy-address:your-proxy-port', 'proxyCredentials': { 'username': 'your-username', 'password': 'your-password' } }) # Now you can use the exchange object to interact with the exchange using the proxy. Make sure to replace "your-proxy-address:your-proxy-port" with the actual URL and port of your proxy. If your proxy requires authentication, provide the "username" and "password" values accordingly. Remember to consult the CCXT documentation for the specific exchange you are working with, as the configuration details might differ slightly between exchanges. Configuring a proxy allows you to route your requests through the proxy server, which can be helpful for various reasons like bypassing network restrictions or increasing security. If you'd like to learn more about trading automation and removing emotions from your trading strategies, I invite you to check out my limited edition course at AlgoTradeCamp (algotradecamp.com/limited-edition?). This course provides comprehensive guidance on building and implementing automated trading systems. Feel free to visit the link to gain valuable insights and enhance your trading skills. Don't hesitate to reach out if you have any more questions. Happy trading!
Hey there! I appreciate your comment and I understand your frustration with the compatibility issue between CCXT and CBPro. Dealing with such technical challenges can be quite frustrating, but don't worry, I'm here to help! To resolve the compatibility problem between CCXT and CBPro caused by the 'requests' version conflict, you can try the following steps: Ensure that you have the latest versions of CCXT and CBPro installed. Check their respective documentation or GitHub repositories for any updates or specific requirements. You can try creating a virtual environment for your project using tools like 'virtualenv' or 'conda' to isolate the environment and manage package dependencies more effectively. If the above steps don't work, you may need to downgrade or upgrade the 'requests' library to a version that is compatible with both CCXT and CBPro. You can use pip, the Python package manager, to install a specific version of 'requests'. For example, you can try installing an earlier version like 'requests==2.25.1' by running the command pip install requests==2.25.1. Remember, troubleshooting technical issues can vary depending on your specific setup, so it's always a good idea to refer to the official documentation of CCXT, CBPro, and 'requests' for more detailed instructions and any additional requirements. Lastly, if you're interested in learning more about removing emotions and automating your trading, I highly recommend checking out AlgoTradeCamp. They offer a limited edition course where you can learn directly from me on how to overcome emotional trading and automate your strategies. Visit algotradecamp.com/limited-edition? for more information. I hope this helps you resolve the compatibility issue and get back on track with building your trading bot! Feel free to reach out if you have any further questions. Happy trading!
I want to join the bootcamp but sadly im a fans that zero financial so i just keep on watching your free video sharing about coding and how to make your own trading Bot. Thank u for sharing Sharing is Caring
Thanks for your support! Feel free to join our Discord for more discussions, the link is at the bottom of this page: algotradecamp.com/limited-edition?. Keep learning!
Hi sorry to bother you I hope you can see this comment of mine. I have a question because I use a Kucoin Futures API and this is the error I get: kucoin KC-API-KEY not exists. I dont understand why since I made an api, use the correct key and secret can and also put in the correct password...
hey this is a really great question, please come and ask in our discord, lots of people would be happy to answer all your questions: discord.gg/8UPuVZ53bh what type of trading bot are you working on?
after fetching 4 times i have error: "code" : "429000", "msg":"too many Requests" enable_rate_limit = True but not resolve the error please help. thanks
hey this is a really great question, please come and ask in our discord by entering your email here: algotradecamp.com/ what type of trading bot are you working on?
Hey there! Thank you for watching my video on how to use CCXT to make a trading bot. I'm glad you found it helpful! To connect to KuCoin Sandbox or Binance Spot Testnet using CCXT, you can follow a similar process as connecting to their mainnet APIs. However, there are a few key differences in the API endpoints and credentials. For KuCoin Sandbox, you'll need to use the appropriate API endpoint and API keys provided by KuCoin specifically for their sandbox environment. These sandbox credentials will allow you to interact with their testnet and perform simulated trades without using real funds. Similarly, for Binance Spot Testnet, you'll need to use the respective API endpoint and API keys provided by Binance for their testnet. This will enable you to access the testnet environment and execute trades without affecting your actual Binance account. It's important to note that each exchange may have specific documentation and instructions for connecting to their sandbox or testnet environments. I recommend referring to the official documentation or developer resources provided by KuCoin and Binance for detailed information on connecting to their respective sandbox or testnet environments. If you're interested in learning more about removing emotion from your trading and automating your strategies, I encourage you to join me at AlgoTradeCamp. In this limited edition program, I provide comprehensive guidance on algorithmic trading and automation, helping traders like yourself to develop effective and profitable trading bots. Visit algotradecamp.com/limited-edition? to learn more and take advantage of this valuable opportunity. Thank you once again for your support, and I look forward to assisting you further in your journey towards automated and successful trading. See you at AlgoTradeCamp!
Do we have to apply to each exchange for permission to use API trading in order to get API keys and secrets (our password?). Does this cost anything and are the exchanges fussy with who gets to trade automatically?
yeah, most exchanges require u to apply for api access, but it’s usually a straightforward process. they’re not too fussy unless there’s unusual activity. planning on setting up your own bot?
love ur enthusiasm! what kind of strategies are u thinking about using for ur bot? btw, if u want to dive deeper, u should check out algotradecamp.com, might just be what u need to get started on the right foot. what's stopping u from beginning rn?
I dont know if its the CCXT library or my set up but I cannot fetch any balance on any exchange. 401 error. Any known issues? Or can you point me in the right direction? Thanks,
2 роки тому
you would have to show up the code. I had problem to connect because of ip.
@@moondevonyt I am just fascinated by some of the advanced concepts that quant firms use such as Monte-Carlo distribution and visualising the Equity Curve. Some of them also use REST API which I am not sure what is the difference between web socket API. Is there a guide/explanation on how I can do that?
it's awesome to see ur enthusiasm for the nitty-gritty of quant analysis. which part of the process do u find most challenging? hey, u might find the bootcamp at algotradecamp.com super helpful for mastering these concepts. ever thought about joining?
implemented this in your code amount_dollars = 10 pos_size = amount_dollars / get_bid_ask()[0] print(pos_size) i did this to calculate the position size. this way i can buy for a pre set amount of dollars. it was a few cents of because of trading fees but very acceptable. just implemented it inside your code as in this video. just below where you call the get_bid_ask()[0] function if you want to trade 5 dollars worth or 50 or what ever amount. you just change it to that thank you for your videos
@@moondevonyt builded a super_trend bot and now working on a mean reversion bot. just getting in there thanks to your videos here. supertrend bot gave me some errors (something like limit = 50) after running for over 24 hours (4h chart and collecting the data every 10 minutes) so now building another bot as we speak. (but when the surf is up I take a break to catch some waves) Thanks again for the very informative videos.
Hey there! Thank you for watching my tutorial on using CCXT to make a trading bot. I appreciate your comment and interest in getting started with building your own bot. If you're new to trading bots and looking to get started, I recommend checking out my introductory video or tutorial that provides an overview of trading bots and their benefits. This video will give you a solid foundation and understanding of what trading bots are and how they work. Once you have a grasp of the basics, you can dive into the specific tutorial on using CCXT to make a trading bot. This tutorial will walk you through the process step by step, demonstrating how to connect to an exchange, retrieve market data, and execute trades using CCXT in Python. By following the tutorial series, you'll gain hands-on experience in building a trading bot from scratch, setting up the necessary infrastructure, implementing trading strategies, and incorporating risk management techniques. If you're interested in learning more about removing emotion from your trading and automating your strategies, I encourage you to join me at AlgoTradeCamp. In this limited edition program, I provide comprehensive guidance on algorithmic trading, sharing my expertise to help traders automate their trading effectively. Visit algotradecamp.com/limited-edition? to learn more and take the next step in your trading journey. Thank you for your support, and I look forward to assisting you further in your quest for automated and successful trading. See you at AlgoTradeCamp!
first of all thank you for videos. i have a question about placing futures order in binance with SL and TP at the same time. is there any way to do that? i've read a lot which is said to place three different orders. one the main order, two the stoploss order and three the takeprofit order !
Hello there! I'm glad you've been finding my trading bot tutorial helpful. Thank you for your question about placing futures orders in Binance with a stop loss (SL) and take profit (TP) simultaneously. To achieve this in Binance futures, you're right that you would typically need to place three separate orders. However, the good news is that CCXT provides a convenient way to execute these orders efficiently. Here's how you can do it: 1. First, you'll need to place your main order using the "create_order" method in CCXT. Specify the symbol, quantity, order type, and other relevant parameters for your desired position. 2. Next, you can place the stop loss order using the same "create_order" method. Set the symbol, quantity (usually the same as your main order), order type as 'STOP_MARKET', and specify the stop price. 3. Lastly, you can create the take profit order using "create_order". Again, set the symbol, quantity, order type as 'TAKE_PROFIT_MARKET', and specify the take profit price. By placing these three orders in sequence, you effectively achieve the desired functionality of a stop loss and take profit order at the same time. It allows you to automate your risk management and profit-taking strategies. If you're interested in diving deeper into this topic and learning more about advanced trading techniques, I recommend checking out my AlgoTradeCamp program. It provides comprehensive guidance on removing emotions from your trading and automating your strategies effectively. You can find more information at algotradecamp.com/limited-edition?. I hope this answers your question! If you have any more queries or need further assistance, feel free to ask. Remember to keep learning and experimenting with your trading bot. Best of luck on your trading journey!
balance = exchange.fetch_balance() print(balance) this lines are giving error....... Traceback (most recent call last): File "d:\Visual Studio Code\cctx_bot\bot.py", line 9, in balance = exchange.fetch_balance()
I'm having some trouble getting ccxt installed onto Microsoft visual code, i got it installed to python but the somehow its not connected when I try to write python script in Microsoft visual code. How can I get passed this issue? I'm a super noob coder, I don't know much :| I noticed when I type import ccxt in MVC it doesn't change the colour of the text like it does when you do in your videos
Hi i test the cctx with a simple script in python , return data of btc/usdt , i also try tò misure performance , but return data After 4 seconds i test the same with native api binance in python and return data After 0.8 second , i test in perl native api of binance and return after 0.7 seconds , i test native api in bash sh 0.6 seconds , and i C return in c After 0.4 seconds , you never tested ? Have you ever experience of this issue ?
no ccxt is just for connecting to the exchanges and buy/sell type functions we don’t have any new articles for now but check back on the sheet weekly in case there are more 🙂 whats your secret to trading successfully?
Thank you for watching my tutorial on how to use CCXT to make a trading bot. I appreciate your comment and interest in the program. To clarify, the program I demonstrated in the tutorial is a trading bot framework that utilizes the CCXT library. It provides the foundation for building your own customized trading bot, but the specific actions and trades executed by the bot depend on the strategies and rules you implement. The program itself doesn't automatically buy one Bitcoin or any specific asset unless you program it to do so. The purpose of the tutorial is to guide you through the process of setting up a trading bot using CCXT, allowing you to define the logic and conditions for buying, selling, or executing any other trading actions. If you're interested in learning more about removing emotion from your trading and automating your strategies, I encourage you to join me at AlgoTradeCamp. In this limited edition program, I provide comprehensive guidance on algorithmic trading, sharing my expertise to help traders automate their trading effectively. Visit algotradecamp.com/limited-edition? to learn more and take the next step in your trading journey. Thank you for your support, and I look forward to assisting you further in your quest for automated and successful trading. See you at AlgoTradeCamp!
Thank you for your comment! I'm glad you found the content helpful and engaging. Indeed, integrating TradingView webhooks with CCXT can be a powerful combination for building trading bots. By utilizing webhooks, you can receive real-time market data and trading signals from TradingView and seamlessly integrate them into your trading strategies. I appreciate your suggestion, and it's definitely something worth considering for a future video. Exploring the process of setting up TradingView webhooks and incorporating them into a trading bot using CCXT would provide valuable insights for traders interested in automating their strategies. In the meantime, if you're looking to learn more about building trading bots, removing emotions from your trading decisions, and automating your strategies effectively, I invite you to join me at AlgoTradeCamp. The course offers comprehensive training on these topics, empowering you to succeed in the world of algorithmic trading. To learn more and enroll in the course, please visit algotradecamp.com/limited-edition?. This is an excellent opportunity to learn from me directly and gain practical knowledge to take your trading to the next level. Thank you again for your feedback and suggestion. I appreciate your support, and I look forward to helping you remove emotions and automate your trading strategies.
thank you for the vids i really like your contents hope you are doing great, is it safe to put your apikey and secret key in this code?? like are there anyway that it gets stolen or something like that?
Sure, I'd love to help! Let's discuss it more on our Discord. You can find the link at the bottom of this page: algotradecamp.com/limited-edition?. See you there! 😊
Thanks for the video, great content. Is there a limit to position_size with Phemex? What are the smalest poistions I can create? with the BTCUSD Symbol?
hey this is a really great question, please come and ask in our discord, lots of people, including me, would be happy to answer all your questions: discord.gg/8UPuVZ53bh what type of trading bot are you working on?
hey, colorful text in python usually comes from the syntax highlighting in the code editor. it makes the code easier to read and work with. what editor are you using rn?
Hey! Mulțumesc pentru apreciere! Te invit să postezi întrebarea sau să o adresezi în comunitatea Discord, pe care o găsești la sfârșitul acestei pagini: algotradecamp.com/limited-edition?. Acolo petrecem timp și comunicăm în fiecare zi. Ne vedem acolo!
Thank you so much for your positive feedback! I'm thrilled to hear that you found the tutorial valuable. It's always my goal to provide content that can help viewers like you to enhance their trading experience and achieve their goals. You know, this video is just scratching the surface. Trading involves a lot more than just knowing the tools. It's about developing the right mindset, learning to make decisions based on data rather than emotion, and understanding how to automate your trading to increase efficiency. For more in-depth learning and to fully grasp how to remove emotion from the equation and automate your trading, I would highly recommend checking out my exclusive training program at algotradecamp.com/limited-edition?. You'll find comprehensive resources and guidance that can greatly improve your trading strategies. Thanks again for your support, and don't forget to share this video with anyone who might find it useful. I'm excited to continue this trading journey with you! Happy trading!
do you have any, discord or telegram channel , if yes can you please share the link of the same of bunch of question and it would be hard to explain the problem without showing the actual code , Thank You
Absolutely, we have a Discord channel. You can find the link at the bottom of this page: algotradecamp.com/limited-edition?. It's a great place for sharing and discussing code. See you there!
I hope you can help me, Im using chat gpt to help but, it not there yet: my strategy ( I have 1000 matic and 0 usdt) 1. if the price reach 1 usdt, sell 5 usdt woth of matic using limit order, then open limit buy 10% below 1 usdt for 5 usdt and open limit sell 5 usdt worth of matic 10% above 1 usdt. 2. if the price keep increase, keep sell 5 usdt worth of matic, if keep decrease keep buy 5 usdt. 3. if not enough balance continue to available one (ex: 0 usdt, 30 matic, because I still have matic, the bot will skip the buy, and go to sell) I dont mind mind you just give me the steps, like 1. exchange.create.limit buy 2. exchange.create limit.sell 3. something2.. thank you
To discuss and get assistance with implementing your strategy, I recommend posting or asking in the Discord community. Join us at the bottom of this page: algotradecamp.com/limited-edition?. There, we can provide guidance on the steps you mentioned and help you with the implementation process. Looking forward to assisting you further!
want to automate your trading? i will show you exactly how to automate your trading from scratch even if you have no tech skills, fancy degree or any idea how to get started. in my algo trade camp i made short concise training videos, give you access to all of my code + invite you to my private quant community. join here before i close it to new entrants: algotradecamp.com/
Love what you doing man, thank you for the tutorial. More CCXT plssss :)
thanks :) i will definitely make more ccxt videos, lmk if you have any specific things youd like to know!
Hey man, your videos are incredibly valuable. Hopefully some day I will become a reasonably good algo trader and even meet you. Greetings from Spain, amigo
gracias for the support, amigo! really glad u find them helpful. what kind of algos are u interested in developing?
If you're using ccxt you should use ccxt's names for coin pairs. The ccxt coin pair names are unified for every exchange (ccxt converts them to the exchange name) and will also determine if you are trading spot or swap.
The format is "BTC/USDT" for spot on every exchange and "BTC/USDT:USDT" for perpetual contracts in every exchange.
super helpful info, thanks for sharing! what other tools or tips do u find essential for crypto trading?
On connecting to the exchange, how do you configure a proxy?
Hello! Thank you for watching my tutorial on how to use CCXT to make a trading bot. I appreciate your question about configuring a proxy when connecting to an exchange.
When it comes to configuring a proxy with CCXT, you can follow a few simple steps. Here's how you can do it:
1. Determine your proxy details: First, you need to obtain the necessary information about your proxy, including the proxy IP address, port number, and any authentication credentials if required.
2. Set up the proxy configuration: In CCXT, you can configure the proxy by creating an exchange instance with the appropriate settings. Here's an example:
python
import ccxt
exchange = ccxt.binance({
'proxy': 'your-proxy-address:your-proxy-port',
'proxyCredentials': {
'username': 'your-username',
'password': 'your-password'
}
})
# Now you can use the exchange object to interact with the exchange using the proxy.
Make sure to replace "your-proxy-address:your-proxy-port" with the actual URL and port of your proxy. If your proxy requires authentication, provide the "username" and "password" values accordingly.
Remember to consult the CCXT documentation for the specific exchange you are working with, as the configuration details might differ slightly between exchanges.
Configuring a proxy allows you to route your requests through the proxy server, which can be helpful for various reasons like bypassing network restrictions or increasing security.
If you'd like to learn more about trading automation and removing emotions from your trading strategies, I invite you to check out my limited edition course at AlgoTradeCamp (algotradecamp.com/limited-edition?). This course provides comprehensive guidance on building and implementing automated trading systems.
Feel free to visit the link to gain valuable insights and enhance your trading skills. Don't hesitate to reach out if you have any more questions. Happy trading!
Awesome teaching man! Learning, slowly getting it I think!!
Glad to hear it!
ccxt and cbpro arent compatible with the same version of 'requests', how can i fix this bro pls help
Hey there! I appreciate your comment and I understand your frustration with the compatibility issue between CCXT and CBPro. Dealing with such technical challenges can be quite frustrating, but don't worry, I'm here to help!
To resolve the compatibility problem between CCXT and CBPro caused by the 'requests' version conflict, you can try the following steps:
Ensure that you have the latest versions of CCXT and CBPro installed. Check their respective documentation or GitHub repositories for any updates or specific requirements.
You can try creating a virtual environment for your project using tools like 'virtualenv' or 'conda' to isolate the environment and manage package dependencies more effectively.
If the above steps don't work, you may need to downgrade or upgrade the 'requests' library to a version that is compatible with both CCXT and CBPro. You can use pip, the Python package manager, to install a specific version of 'requests'. For example, you can try installing an earlier version like 'requests==2.25.1' by running the command pip install requests==2.25.1.
Remember, troubleshooting technical issues can vary depending on your specific setup, so it's always a good idea to refer to the official documentation of CCXT, CBPro, and 'requests' for more detailed instructions and any additional requirements.
Lastly, if you're interested in learning more about removing emotions and automating your trading, I highly recommend checking out AlgoTradeCamp. They offer a limited edition course where you can learn directly from me on how to overcome emotional trading and automate your strategies. Visit algotradecamp.com/limited-edition? for more information.
I hope this helps you resolve the compatibility issue and get back on track with building your trading bot! Feel free to reach out if you have any further questions. Happy trading!
love the video's man, my ict teacher could learn from you how to explain things
thanks, means a lot! what's been ur favorite topic so far?
I want to join the bootcamp but sadly im a fans that zero financial so i just keep on watching your free video sharing about coding and how to make your own trading Bot. Thank u for sharing
Sharing is Caring
Thanks for your support! Feel free to join our Discord for more discussions, the link is at the bottom of this page: algotradecamp.com/limited-edition?. Keep learning!
Hi sorry to bother you I hope you can see this comment of mine. I have a question because I use a Kucoin Futures API and this is the error I get: kucoin KC-API-KEY not exists. I dont understand why since I made an api, use the correct key and secret can and also put in the correct password...
hey this is a really great question, please come and ask in our discord, lots of people would be happy to answer all your questions: discord.gg/8UPuVZ53bh
what type of trading bot are you working on?
after fetching 4 times i have error:
"code" : "429000", "msg":"too many Requests"
enable_rate_limit = True
but not resolve the error
please help. thanks
hey this is a really great question, please come and ask in our discord by entering your email here: algotradecamp.com/
what type of trading bot are you working on?
Great video, please how does one connect to kucoin sandbox or Binance spot testnet with this?
Hey there! Thank you for watching my video on how to use CCXT to make a trading bot. I'm glad you found it helpful!
To connect to KuCoin Sandbox or Binance Spot Testnet using CCXT, you can follow a similar process as connecting to their mainnet APIs. However, there are a few key differences in the API endpoints and credentials.
For KuCoin Sandbox, you'll need to use the appropriate API endpoint and API keys provided by KuCoin specifically for their sandbox environment. These sandbox credentials will allow you to interact with their testnet and perform simulated trades without using real funds.
Similarly, for Binance Spot Testnet, you'll need to use the respective API endpoint and API keys provided by Binance for their testnet. This will enable you to access the testnet environment and execute trades without affecting your actual Binance account.
It's important to note that each exchange may have specific documentation and instructions for connecting to their sandbox or testnet environments. I recommend referring to the official documentation or developer resources provided by KuCoin and Binance for detailed information on connecting to their respective sandbox or testnet environments.
If you're interested in learning more about removing emotion from your trading and automating your strategies, I encourage you to join me at AlgoTradeCamp. In this limited edition program, I provide comprehensive guidance on algorithmic trading and automation, helping traders like yourself to develop effective and profitable trading bots. Visit algotradecamp.com/limited-edition? to learn more and take advantage of this valuable opportunity.
Thank you once again for your support, and I look forward to assisting you further in your journey towards automated and successful trading. See you at AlgoTradeCamp!
@moondevonyt how can i install ccxt for bitget i make bot but i dont know how to install in visual studio i write code in python
glad u r working on a bot! to install ccxt, just use pip install ccxt in ur terminal.
Do we have to apply to each exchange for permission to use API trading in order to get API keys and secrets (our password?). Does this cost anything and are the exchanges fussy with who gets to trade automatically?
yeah, most exchanges require u to apply for api access, but it’s usually a straightforward process. they’re not too fussy unless there’s unusual activity. planning on setting up your own bot?
@@moondevonyt Thanks, yes I have some great ideas (in theory!) and would like to setup my own trading bot. I really appreciate your guides.
love ur enthusiasm! what kind of strategies are u thinking about using for ur bot?
btw, if u want to dive deeper, u should check out algotradecamp.com, might just be what u need to get started on the right foot. what's stopping u from beginning rn?
Could I ask what is the plugin in your vscode? Because I can see the reminder when you write pythons
hey this is a really great question, please come and ask in our discord by entering your email here: algotradecamp.com/
whats your trading strategy?
I dont know if its the CCXT library or my set up but I cannot fetch any balance on any exchange. 401 error. Any known issues? Or can you point me in the right direction? Thanks,
you would have to show up the code. I had problem to connect because of ip.
Gained lots of value from watching your vids!
By any chance, is there a guide to do EDA, data visualisation and optimising using scikit-learn?
so glad u found them useful! are u working on a project rn that requires EDA and optimization?
@@moondevonyt I am just fascinated by some of the advanced concepts that quant firms use such as Monte-Carlo distribution and visualising the Equity Curve. Some of them also use REST API which I am not sure what is the difference between web socket API. Is there a guide/explanation on how I can do that?
it's awesome to see ur enthusiasm for the nitty-gritty of quant analysis. which part of the process do u find most challenging?
hey, u might find the bootcamp at algotradecamp.com super helpful for mastering these concepts. ever thought about joining?
implemented this in your code
amount_dollars = 10
pos_size = amount_dollars / get_bid_ask()[0]
print(pos_size)
i did this to calculate the position size. this way i can buy for a pre set amount of dollars.
it was a few cents of because of trading fees but very acceptable.
just implemented it inside your code as in this video.
just below where you call the get_bid_ask()[0] function
if you want to trade 5 dollars worth or 50 or what ever amount. you just change it to that
thank you for your videos
and thank you for that!
what type of trading bot are you working on?
@@moondevonyt builded a super_trend bot and now working on a mean reversion bot.
just getting in there thanks to your videos here. supertrend bot gave me some errors (something like limit = 50) after running for over 24 hours (4h chart and collecting the data every 10 minutes) so now building another bot as we speak. (but when the surf is up I take a break to catch some waves)
Thanks again for the very informative videos.
With fireworks noise outside in Hyde Park area of Los Angeles
4th of July, 2022 Mon 23:24 Pacific time
Sir how to run multiple symbols in this script
I have that video in my channel! or you could join here to check my codes-- algotradecamp.com/yt
whats your favorite trading strategy?
Do you have a “Getting Started for Noobs” vid you recommend?
all of them :)
how to get started in making a bot? what video is the first to look at?
Hey there! Thank you for watching my tutorial on using CCXT to make a trading bot. I appreciate your comment and interest in getting started with building your own bot.
If you're new to trading bots and looking to get started, I recommend checking out my introductory video or tutorial that provides an overview of trading bots and their benefits. This video will give you a solid foundation and understanding of what trading bots are and how they work.
Once you have a grasp of the basics, you can dive into the specific tutorial on using CCXT to make a trading bot. This tutorial will walk you through the process step by step, demonstrating how to connect to an exchange, retrieve market data, and execute trades using CCXT in Python.
By following the tutorial series, you'll gain hands-on experience in building a trading bot from scratch, setting up the necessary infrastructure, implementing trading strategies, and incorporating risk management techniques.
If you're interested in learning more about removing emotion from your trading and automating your strategies, I encourage you to join me at AlgoTradeCamp. In this limited edition program, I provide comprehensive guidance on algorithmic trading, sharing my expertise to help traders automate their trading effectively. Visit algotradecamp.com/limited-edition? to learn more and take the next step in your trading journey.
Thank you for your support, and I look forward to assisting you further in your quest for automated and successful trading. See you at AlgoTradeCamp!
first of all thank you for videos. i have a question about placing futures order in binance with SL and TP at the same time. is there any way to do that? i've read a lot which is said to place three different orders. one the main order, two the stoploss order and three the takeprofit order !
Hello there! I'm glad you've been finding my trading bot tutorial helpful. Thank you for your question about placing futures orders in Binance with a stop loss (SL) and take profit (TP) simultaneously.
To achieve this in Binance futures, you're right that you would typically need to place three separate orders. However, the good news is that CCXT provides a convenient way to execute these orders efficiently. Here's how you can do it:
1. First, you'll need to place your main order using the "create_order" method in CCXT. Specify the symbol, quantity, order type, and other relevant parameters for your desired position.
2. Next, you can place the stop loss order using the same "create_order" method. Set the symbol, quantity (usually the same as your main order), order type as 'STOP_MARKET', and specify the stop price.
3. Lastly, you can create the take profit order using "create_order". Again, set the symbol, quantity, order type as 'TAKE_PROFIT_MARKET', and specify the take profit price.
By placing these three orders in sequence, you effectively achieve the desired functionality of a stop loss and take profit order at the same time. It allows you to automate your risk management and profit-taking strategies.
If you're interested in diving deeper into this topic and learning more about advanced trading techniques, I recommend checking out my AlgoTradeCamp program. It provides comprehensive guidance on removing emotions from your trading and automating your strategies effectively. You can find more information at algotradecamp.com/limited-edition?.
I hope this answers your question! If you have any more queries or need further assistance, feel free to ask. Remember to keep learning and experimenting with your trading bot. Best of luck on your trading journey!
balance = exchange.fetch_balance()
print(balance)
this lines are giving error.......
Traceback (most recent call last):
File "d:\Visual Studio Code\cctx_bot\bot.py", line 9, in
balance = exchange.fetch_balance()
sorry for the late reply! how did it go??
whats the best way you've found to trade?
I'm having some trouble getting ccxt installed onto Microsoft visual code, i got it installed to python but the somehow its not connected when I try to write python script in Microsoft visual code. How can I get passed this issue? I'm a super noob coder, I don't know much :| I noticed when I type import ccxt in MVC it doesn't change the colour of the text like it does when you do in your videos
usually its just pip install ccxt
were you able to get it fixed
im kind off locked
up here too 😆
Bro You are amazing !
It's work for pocket option too?
my pleasure man, and it should!
Hi i test the cctx with a simple script in python , return data of btc/usdt , i also try tò misure performance , but return data After 4 seconds i test the same with native api binance in python and return data After 0.8 second , i test in perl native api of binance and return after 0.7 seconds , i test native api in bash sh 0.6 seconds , and i C return in c After 0.4 seconds , you never tested ? Have you ever experience of this issue ?
performance testing across languages is a solid approach. have u looked into async methods for python to speed things up?
can ccxt backtest and optimize?
no ccxt is just for connecting to the exchanges and buy/sell type functions
we don’t have any new articles for now but check back on the sheet weekly in case there are more 🙂
whats your secret to trading successfully?
So did this program just buy 1 Bitcoin?
Thank you for watching my tutorial on how to use CCXT to make a trading bot. I appreciate your comment and interest in the program.
To clarify, the program I demonstrated in the tutorial is a trading bot framework that utilizes the CCXT library. It provides the foundation for building your own customized trading bot, but the specific actions and trades executed by the bot depend on the strategies and rules you implement.
The program itself doesn't automatically buy one Bitcoin or any specific asset unless you program it to do so. The purpose of the tutorial is to guide you through the process of setting up a trading bot using CCXT, allowing you to define the logic and conditions for buying, selling, or executing any other trading actions.
If you're interested in learning more about removing emotion from your trading and automating your strategies, I encourage you to join me at AlgoTradeCamp. In this limited edition program, I provide comprehensive guidance on algorithmic trading, sharing my expertise to help traders automate their trading effectively. Visit algotradecamp.com/limited-edition? to learn more and take the next step in your trading journey.
Thank you for your support, and I look forward to assisting you further in your quest for automated and successful trading. See you at AlgoTradeCamp!
Nice, thx for the content ! Would be interesting to make a video with Tradingview webhooks
Thank you for your comment! I'm glad you found the content helpful and engaging.
Indeed, integrating TradingView webhooks with CCXT can be a powerful combination for building trading bots. By utilizing webhooks, you can receive real-time market data and trading signals from TradingView and seamlessly integrate them into your trading strategies.
I appreciate your suggestion, and it's definitely something worth considering for a future video. Exploring the process of setting up TradingView webhooks and incorporating them into a trading bot using CCXT would provide valuable insights for traders interested in automating their strategies.
In the meantime, if you're looking to learn more about building trading bots, removing emotions from your trading decisions, and automating your strategies effectively, I invite you to join me at AlgoTradeCamp. The course offers comprehensive training on these topics, empowering you to succeed in the world of algorithmic trading.
To learn more and enroll in the course, please visit algotradecamp.com/limited-edition?. This is an excellent opportunity to learn from me directly and gain practical knowledge to take your trading to the next level.
Thank you again for your feedback and suggestion. I appreciate your support, and I look forward to helping you remove emotions and automate your trading strategies.
thank you for the vids i really like your contents hope you are doing great, is it safe to put your apikey and secret key in this code??
like are there anyway that it gets stolen or something like that?
it’s fine to put them there unless you are sharing it online like me
Hi , thank you
How i can install ccxt ?
pip install ccxt
love you man😘
❤️❤️❤️
What’s an order
it's a request made by a trader to buy or sell :)
do you trade?
can you doa vid setting up api config plz
Sure, I'd love to help! Let's discuss it more on our Discord. You can find the link at the bottom of this page: algotradecamp.com/limited-edition?. See you there! 😊
@@moondevonyt bro in ten months time i resolved the issue, chatgpt didnt exist then
Thanks for the video, great content. Is there a limit to position_size with Phemex? What are the smalest poistions I can create? with the BTCUSD Symbol?
hey this is a really great question, please come and ask in our discord, lots of people, including me, would be happy to answer all your questions: discord.gg/8UPuVZ53bh
what type of trading bot are you working on?
Why is your python text so colorful?
hey, colorful text in python usually comes from the syntax highlighting in the code editor. it makes the code easier to read and work with. what editor are you using rn?
me gusta este videoeres genial
¡gracias! me alegra que te guste. ¿qué parte del video fue tu favorita?
Boss esti tare
Hey! Mulțumesc pentru apreciere! Te invit să postezi întrebarea sau să o adresezi în comunitatea Discord, pe care o găsești la sfârșitul acestei pagini: algotradecamp.com/limited-edition?. Acolo petrecem timp și comunicăm în fiecare zi. Ne vedem acolo!
very good
Thank you so much for your positive feedback! I'm thrilled to hear that you found the tutorial valuable. It's always my goal to provide content that can help viewers like you to enhance their trading experience and achieve their goals.
You know, this video is just scratching the surface. Trading involves a lot more than just knowing the tools. It's about developing the right mindset, learning to make decisions based on data rather than emotion, and understanding how to automate your trading to increase efficiency.
For more in-depth learning and to fully grasp how to remove emotion from the equation and automate your trading, I would highly recommend checking out my exclusive training program at algotradecamp.com/limited-edition?. You'll find comprehensive resources and guidance that can greatly improve your trading strategies.
Thanks again for your support, and don't forget to share this video with anyone who might find it useful. I'm excited to continue this trading journey with you!
Happy trading!
Following many things.
June 28, 2022 Tue 23:45 Pacific time
❤️❤️❤️ thank you for the comment, i appreciate your time. you can learn more here: algotradecamp.com/
its work
;)
whats your favorite way of trading?
Yo!!
yoooo
do you have any, discord or telegram channel , if yes can you please share the link of the same of bunch of question and it would be hard to explain the problem without showing the actual code ,
Thank You
Absolutely, we have a Discord channel. You can find the link at the bottom of this page: algotradecamp.com/limited-edition?. It's a great place for sharing and discussing code. See you there!
I hope you can help me, Im using chat gpt to help but, it not there yet:
my strategy ( I have 1000 matic and 0 usdt)
1. if the price reach 1 usdt, sell 5 usdt woth of matic using limit order, then open limit buy 10% below 1 usdt for 5 usdt and open limit sell 5 usdt worth of matic 10% above 1 usdt.
2. if the price keep increase, keep sell 5 usdt worth of matic, if keep decrease keep buy 5 usdt.
3. if not enough balance continue to available one (ex: 0 usdt, 30 matic, because I still have matic, the bot will skip the buy, and go to sell)
I dont mind mind you just give me the steps, like
1. exchange.create.limit buy
2. exchange.create limit.sell
3. something2..
thank you
To discuss and get assistance with implementing your strategy, I recommend posting or asking in the Discord community. Join us at the bottom of this page: algotradecamp.com/limited-edition?. There, we can provide guidance on the steps you mentioned and help you with the implementation process. Looking forward to assisting you further!
enableRateLimit