Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
buy_and_sell_logic [2019/04/10 21:31]
armchairguru
buy_and_sell_logic [2019/06/08 22:35] (current)
armchairguru
Line 1: Line 1:
 =====BASIC BUYING AND SELLING GUIDE TO PROFITTRAILER===== =====BASIC BUYING AND SELLING GUIDE TO PROFITTRAILER=====
-====Why won’t my Bot Buy, or Sell?==== +<callout type="​success"​ icon="​glyphicon glyphicon-education">​ 
-//[authored originally by Vae Victus 2018.01.22]//​\\ +===Why won’t my Bot Buy, or Sell?=== 
-//[updated for v2.3 2019.04.09]//​ +\\ 
- +===Table of Contents===
-====Table of Contents====+
  
   * [[buy_and_sell_logic#​Understanding the Buy]]   * [[buy_and_sell_logic#​Understanding the Buy]]
Line 15: Line 14:
   * [[buy_and_sell_logic#​How different BUY strategy settings affect the PBL]]   * [[buy_and_sell_logic#​How different BUY strategy settings affect the PBL]]
   * [[buy_and_sell_logic#​How Indicators Configuration affect the PBL]]   * [[buy_and_sell_logic#​How Indicators Configuration affect the PBL]]
- +</​callout>​
-----+
  
 ====BUY USING MULTIPLE INDICATORS==== ====BUY USING MULTIPLE INDICATORS====
Line 67: Line 65:
   * hidden_pairs will not be shown   * hidden_pairs will not be shown
  
-In version 2.3, the PBL will look for ALL the buy strategies that you have set (up to 10 total) to be true before it will begin to consider buying a coin. The exception to this is the [[pairs.properties#​default_buy_strategy_formula]] setting, which allows any valid combination of strategies to be true in order to consider a buy. Then it will begin trailing if you have trailing set. As you can see, there are even more hurdles to leap over before the bot will buy, which of course, is a good thing. The more criteria your buy meets, the better the buy should be to try to create an opportunity to create a profit in the future from that purchase. ​+In version 2.3, the PBL will look for ALL the buy strategies that you have set (up to 10 total) to be true before it will begin to consider buying a coin. The exception to this is the [[pairs_config#​default_buy_strategy_formula]] setting, which allows any valid combination of strategies to be true in order to consider a buy. Then it will begin trailing if you have trailing set. As you can see, there are even more hurdles to leap over before the bot will buy, which of course, is a good thing. The more criteria your buy meets, the better the buy should be to try to create an opportunity to create a profit in the future from that purchase. ​
  
 You can choose to make the bot buy very quickly by creating very loose and aggressive buy settings, but remember that is defeating the purpose of being selective, and using a bot that can do all these calculations and checks for you without emotion. ​ You can choose to make the bot buy very quickly by creating very loose and aggressive buy settings, but remember that is defeating the purpose of being selective, and using a bot that can do all these calculations and checks for you without emotion. ​
Line 87: Line 85:
  
   DEFAULT_trailing_buy   DEFAULT_trailing_buy
-Another important setting is the ''​[[pairs.properties#​DEFAULT_trailing_buy]]''​ setting. This setting allows the bot to “trail” a price downward if it is not yet done dropping, to try and buy the coin at the lowest possible price it can. This action is why you sometimes don’t see the bot buy immediately when a price is below the LOWBB setting by your DEFAULT_A_buy_value percentage. Sometimes, it buys at a really low price for you, yaaa! But sometimes, if the price turns back up, it might not buy at all if the price jumps above the DEFAULT_A_buy_value setting. It can be confusing, but it is working in your favor. ​+Another important setting is the ''​[[pairs_config#​DEFAULT_trailing_buy]]''​ setting. This setting allows the bot to “trail” a price downward if it is not yet done dropping, to try and buy the coin at the lowest possible price it can. This action is why you sometimes don’t see the bot buy immediately when a price is below the LOWBB setting by your DEFAULT_A_buy_value percentage. Sometimes, it buys at a really low price for you, yaaa! But sometimes, if the price turns back up, it might not buy at all if the price jumps above the DEFAULT_A_buy_value setting. It can be confusing, but it is working in your favor. ​
  
 (Important note: There are several other settings detailed in the sections below that will cause the bot to filter out certain purchases that might meet the price triggers. These include: having enough volume, having a small enough spread, having too many pairs already bought but not sold beyond your max pairs setting, etc. Be sure to read and understand how these settings affect the buying below.) (Important note: There are several other settings detailed in the sections below that will cause the bot to filter out certain purchases that might meet the price triggers. These include: having enough volume, having a small enough spread, having too many pairs already bought but not sold beyond your max pairs setting, etc. Be sure to read and understand how these settings affect the buying below.)
Line 97: Line 95:
 But wait, there'​s more! PT has a buying strategy that helps you if your coin purchase begins to drop in value. It is called Dollar Cost Averaging or DCA for short, and will buy more coins for you as the price drops in order to lower the average price that you must meet in order to sell for a profit, or to prevent a loss.  But wait, there'​s more! PT has a buying strategy that helps you if your coin purchase begins to drop in value. It is called Dollar Cost Averaging or DCA for short, and will buy more coins for you as the price drops in order to lower the average price that you must meet in order to sell for a profit, or to prevent a loss. 
  
-DCA is detailed in the [[dca.properties|DCA.properties]] section, but there are a couple of basic concepts to understand here. +DCA is detailed in the [[dca_config|dca_config]] section, but there are a couple of basic concepts to understand here. 
  
   DEFAULT_DCA_enabled   DEFAULT_DCA_enabled
Line 104: Line 102:
 When you turn it on, you need to understand that DCA can eat up a lot of your balance in a hurry if you have bought coins at too high a price and they begin to drop in value. ​ When you turn it on, you need to understand that DCA can eat up a lot of your balance in a hurry if you have bought coins at too high a price and they begin to drop in value. ​
  
-The amount of the coin being purchased in each DCA cycle can be set for each subsequent purchase using [[faq#DCA level specific settings]]! By default the amount of coin to be purchased (''​[[dca.properties#​DEFAULT_DCA_buy_percentage]]''​) is normally 100% of the current amount of the coin you hold. DCA purchasing can use a large amount of your balance very quickly, so you need to understand how to use and control it. +The amount of the coin being purchased in each DCA cycle can be set for each subsequent purchase using [[faq#DCA level specific settings]]! By default the amount of coin to be purchased (''​[[dca_config#​DEFAULT_DCA_buy_percentage]]''​) is normally 100% of the current amount of the coin you hold. DCA purchasing can use a large amount of your balance very quickly, so you need to understand how to use and control it. 
  
 Example. If you have bought 0.002 BTC worth of ETH, and you let it DCA, the bot will purchase the following amounts, assuming that you have it set to buy 100% each time:  Example. If you have bought 0.002 BTC worth of ETH, and you let it DCA, the bot will purchase the following amounts, assuming that you have it set to buy 100% each time: 
Line 116: Line 114:
 6TH DCA = 0.064, Total = 0.128 BTC \\ 6TH DCA = 0.064, Total = 0.128 BTC \\
  
-As you can see, within 6 purchases you went from a 0.002 initial buy to a 0.128 holding in a coin that is clearly still down below your purchase price. Be sure to read the DCA.properties ​wiki entry and use the settings that are there to limit how much DCA can use of your balance (max_cost, max_buy_times).+As you can see, within 6 purchases you went from a 0.002 initial buy to a 0.128 holding in a coin that is clearly still down below your purchase price. Be sure to read the dca_config ​wiki entry and use the settings that are there to limit how much DCA can use of your balance (max_cost, max_buy_times).
  
 That said, it is a very effective tool to help you clear out your bags if you set it up properly, so don't be afraid of it, but be very wary! That said, it is a very effective tool to help you clear out your bags if you set it up properly, so don't be afraid of it, but be very wary!
Line 129: Line 127:
 The sell is just like the buy, and like the buy, can happen in two places: the Pairs side of the bot, and in the DCA side. The sell is driven by default, with a simple GAIN strategy. If you want to try to get more profit from your sells, you can use multiple strategies coupled together to try to ensure the price of the coin is at a true “high” point before selling. Remember that with multiple strategies for selling, if you choose to not use GAIN as a sell strategy, your sell settings could potentially sell the coins for a loss! It's probably best at the start if you use GAIN as one of the sell strategies and set the minimum % profit gain.  ​ The sell is just like the buy, and like the buy, can happen in two places: the Pairs side of the bot, and in the DCA side. The sell is driven by default, with a simple GAIN strategy. If you want to try to get more profit from your sells, you can use multiple strategies coupled together to try to ensure the price of the coin is at a true “high” point before selling. Remember that with multiple strategies for selling, if you choose to not use GAIN as a sell strategy, your sell settings could potentially sell the coins for a loss! It's probably best at the start if you use GAIN as one of the sell strategies and set the minimum % profit gain.  ​
  
-If however you are using multiple strategies, like GAIN, HIGHBB and RSI together, then all 3 of those strategies must evaluate to true before the bot will begin to try to sell. The exception to this is the [[pairs.properties#​default_sell_strategy_formula]] which will use any valid combination of strategies that must evaluate as true. Then, if you are also using trailing_profit settings, the bot will begin to trail instead of simply selling.\\+If however you are using multiple strategies, like GAIN, HIGHBB and RSI together, then all 3 of those strategies must evaluate to true before the bot will begin to try to sell. The exception to this is the [[pairs_config#​default_sell_strategy_formula]] which will use any valid combination of strategies that must evaluate as true. Then, if you are also using trailing_profit settings, the bot will begin to trail instead of simply selling.\\
 **Note:** If you do not use GAIN as a sell strategy, you cannot use trailing profit settings. **Note:** If you do not use GAIN as a sell strategy, you cannot use trailing profit settings.
 \\ \\
Line 167: Line 165:
 <​file>​Your Balance or your TCV (Total Current Value)</​file>​ <​file>​Your Balance or your TCV (Total Current Value)</​file>​
  
-A zero or too low of a balance in your exchange and/or a TCV of zero will cause the coins in the PBL to display INSUFFICIENT BALANCE below the buy settings. Additionally,​ if your balance is lower than your ''​[[pairs.properties#​DEFAULT_initial_cost]]''​ setting for the Pairs config GUI, or the ''​[[dca.properties#​DEFAULT_DCA_max_cost]]''​ setting in your DCA config GUI, then the bot won't be able to buy. +A zero or too low of a balance in your exchange and/or a TCV of zero will cause the coins in the PBL to display INSUFFICIENT BALANCE below the buy settings. Additionally,​ if your balance is lower than your ''​[[pairs_config#​DEFAULT_initial_cost]]''​ setting for the Pairs config GUI, or the ''​[[dca_config#​DEFAULT_DCA_max_cost]]''​ setting in your DCA config GUI, then the bot won't be able to buy. 
  
  
Line 215: Line 213:
  
 [[buy_and_sell_logic|TOP]] [[buy_and_sell_logic|TOP]]
- 
-~~DISCUSSION~~ 
  • buy_and_sell_logic.1554931863.txt.gz
  • Last modified: 3 months ago
  • by armchairguru