Updated PAIRS.properties (markdown)
parent
8b20897ca1
commit
5dc8ffb816
|
@ -1,200 +1 @@
|
||||||
# PAIRS Configuration and more
|
Moved to [New wiki](http://wiki.profittrailer.io/doku.php/pairs.properties)
|
||||||
All properties starting with ALL_ can also be defined as coinpair_
|
|
||||||
Example ALL_trading_enabled = true or BTC_ETH_trading_enabled = true
|
|
||||||
A coin pair setting takes priority over ALL_ settings
|
|
||||||
Most options can be turned off by indicated false or setting a value of 0
|
|
||||||
ALL coin pair examples on this page are for poloniex exchange
|
|
||||||
Bittrex coin pairs are defined like BTC-ETH
|
|
||||||
|
|
||||||
Define the market we are trading (BTC, ETH, XMR or USDT)
|
|
||||||
`MARKET = BTC`
|
|
||||||
|
|
||||||
Enable trading (buying,selling and orders) using defined strategies for all pairs
|
|
||||||
If trading_enabled = false your running pairs/pendings orders and balance will still be displayed in watchmode
|
|
||||||
`ALL_trading_enabled = true`
|
|
||||||
|
|
||||||
The default strategy to use to make buys
|
|
||||||
`ALL_buy_strategy = LOWBB`
|
|
||||||
|
|
||||||
The default strategy buy value. Meaning what triggers a buy
|
|
||||||
`ALL_buy_value = 0`
|
|
||||||
|
|
||||||
The default strategy to use to sell
|
|
||||||
`ALL_sell_strategy = GAIN`
|
|
||||||
|
|
||||||
The strategy sell value. Meaning what triggers a sell.
|
|
||||||
For GAIN it is plain profit %
|
|
||||||
For HIGHB it is. The usual way. HIGHBB 0 is on top of the top line. HIGHBB50 is middle line
|
|
||||||
`ALL_sell_value = 1`
|
|
||||||
|
|
||||||
Min/Max amount in BTC we will use to buy
|
|
||||||
`ALL_max_cost = 0.0006`
|
|
||||||
|
|
||||||
ProxyBot will only buy coins with a minimum volume of specified amount.
|
|
||||||
If you like to trade low volume coins. keep the value low
|
|
||||||
`ALL_min_buy_volume = 500`
|
|
||||||
|
|
||||||
Used by BB strategy to not sell without profit
|
|
||||||
`ALL_min_profit = 1`
|
|
||||||
|
|
||||||
Use to define what PAIRS you want the ProxyBot to use for trading.
|
|
||||||
List all pairs you want separated by comma or specify ALL to trade all pairs in your market
|
|
||||||
`ALL_enabled_pairs= ALL`
|
|
||||||
**OR**
|
|
||||||
`ALL_enabled_pairs= BTC-ETH, BTC-LTC` <-- FOR BITTREX
|
|
||||||
`ALL_enabled_pairs= BTC_ETH, BTC_LTC` <-- FOR POLONIEX
|
|
||||||
|
|
||||||
Use with gain strategy to try and maximize your profit.
|
|
||||||
In short works like a trailing profit, but will not sell at a loss. More detail in examples below
|
|
||||||
`ALL_trailing_profit = 0.5`
|
|
||||||
|
|
||||||
This works exactly like the trailing profit but in reverse. The buy trigger will keep moving down.
|
|
||||||
This will try to catch the price at it's lowest point before buying
|
|
||||||
`ALL_trailing_buy = 0.3`
|
|
||||||
|
|
||||||
Only buy coins if the buy cost will not let your balance go below specified amount
|
|
||||||
`ALL_min_buy_balance = 0`
|
|
||||||
|
|
||||||
Turn on to sell all of your coins with a balance for current market prices
|
|
||||||
`ALL_panic_sell_enabled = false`
|
|
||||||
|
|
||||||
Turn on sell only mode for all your coins. No new buys are accepted. You may only sell
|
|
||||||
`ALL_sell_only_mode = false`
|
|
||||||
|
|
||||||
Turn on sell only mode if BTC price drops x% amount (Uses 24h change price)
|
|
||||||
You will recieve a telegram message to inform you of this
|
|
||||||
`ALL_btc_price_drop_trigger = 4`
|
|
||||||
|
|
||||||
Turn off sell only mode if it was activated by price drop and BTC price recovers a bit to x% amount (Uses 24h change price)
|
|
||||||
You will recieve a telegram message to inform you of this
|
|
||||||
`ALL_btc_price_drop_recover_trigger = 1`
|
|
||||||
|
|
||||||
Turn on sell only mode if BTC price rises x% amount (Uses 24h change price)
|
|
||||||
You will recieve a telegram message to inform you of this
|
|
||||||
`ALL_btc_price_rise_trigger = 5`
|
|
||||||
|
|
||||||
Turn off sell only mode if it was activated by price rise and BTC price goes back down to x% amount (Uses 24h change price)
|
|
||||||
You will recieve a telegram message to inform you of this
|
|
||||||
`ALL_btc_price_rise_recover_trigger = 2`
|
|
||||||
|
|
||||||
Turn on sell only mode if we got x consecutive buys and no sells in between (market is going down)
|
|
||||||
You will recieve a telegram message to inform you of this
|
|
||||||
`ALL_consecutive_buy_trigger = 5`
|
|
||||||
|
|
||||||
turn off sell only mode if we got x consecutive sells with no buys in between (market is recovering)
|
|
||||||
You will recieve a telegram message to inform you of this
|
|
||||||
`ALL_consecutive_sell_trigger = 3`
|
|
||||||
|
|
||||||
Enable DCA for all pairs with a balance. Will use strategy defined in DCA.properties
|
|
||||||
`ALL_DCA_enabled = false`
|
|
||||||
|
|
||||||
If `DCA_enabled` is false, this option will automatically enable DCA for a particular coin
|
|
||||||
DCA will enable if the value(profit %) of a coin drops below the specified amount
|
|
||||||
The coin will **NOT** go back to pairs log if it has been DCA'd 1 or more times
|
|
||||||
`ALL_DCA_enabled_trigger = -5`
|
|
||||||
|
|
||||||
If x amount of time in minutes has passed since we bought a coin, create a pending order for that pair
|
|
||||||
This enables the bot to buy this pair again
|
|
||||||
`ALL_pending_order_wait_time = 360`
|
|
||||||
|
|
||||||
Cancel pending order for specified coin if avg profit reaches specified amount
|
|
||||||
`ALL_combined_cancel_pending_trigger = 0`
|
|
||||||
|
|
||||||
Set the value that will trigger a stop loss order
|
|
||||||
If the value of a coin drops below stop loss trigger, it will be automatically sold
|
|
||||||
**NOTE: stop loss positive values are automatically converted to negative value**
|
|
||||||
`ALL_stop_loss_trigger = -10`
|
|
||||||
|
|
||||||
Set the amount of minutes that the bot is not allowed to buy a coin after if was sold by stop loss trigger
|
|
||||||
`ALL_stop_loss_timeout` = 5`
|
|
||||||
|
|
||||||
Set to ignore low satoshi coins.
|
|
||||||
`ALL_min_buy_price = 0.00000500`
|
|
||||||
|
|
||||||
Max spread % between lowest ask and highest bid to allow a new buy order
|
|
||||||
if spread is too big, most likely there was a coin dump/pump and you are buying too high
|
|
||||||
`ALL_max_buy_spread = 2`
|
|
||||||
|
|
||||||
Max amount of pairs that the bot is allowed
|
|
||||||
Once the max is reached, the bot will not buy any new pairs until we sell. DCA is still allowed to buy
|
|
||||||
`ALL_max_trading_pairs = 0`
|
|
||||||
|
|
||||||
Specifiy the bought price for a coin. Sometimes the bot it not able to determine the correct bought price.
|
|
||||||
This allows us to set it manually. This setting only works if bot could not determine the price
|
|
||||||
`BTC_XRP_bought_price = 0.00004943`
|
|
||||||
|
|
||||||
Enables or Disables DCA for specified coin
|
|
||||||
If ALL_DCA_enabled is true this will disable DCA only for this coin
|
|
||||||
`BTC_SYS_DCA_enabled = false`
|
|
||||||
|
|
||||||
Enable or Disable trading for specified coin
|
|
||||||
If ALL_trading_enabled is true this setting will disable trading only for this coin
|
|
||||||
`BTC_SC_trading_enabled=false`
|
|
||||||
|
|
||||||
Set sell value for the specified coin to specified amount
|
|
||||||
If ALL_sell_value is specified, this setting will override it
|
|
||||||
`BTC_SC_sell_value = 0.4`
|
|
||||||
|
|
||||||
Allow initial buys if there's enough volume in order book to fill the order
|
|
||||||
This helps against partial buys
|
|
||||||
100% means there should be at least the amount we wanna buy in the orderbook
|
|
||||||
150% means. there shoud be 150% of the amount we wanna buy in the orderbook to issue the buy order
|
|
||||||
So if you need 5 coins at price A..orderbook should have atleast 7.5 coins at price A or lower
|
|
||||||
`ALL_buy_available_volume_trigger = 150`
|
|
||||||
|
|
||||||
Hard override and set a bought price and bought date for your coins. Bought date is required!
|
|
||||||
The normal bought price property (see above) will always look at order book and only set bought_price to unassigned coins
|
|
||||||
This options however will skip order book and set the specified bought price and date for your available balance
|
|
||||||
`BTC_XRP_override_bought_price = 0.00008000`
|
|
||||||
`BTC_XRP_override_bought_date = YYYY-MM-DD`
|
|
||||||
|
|
||||||
# Examples
|
|
||||||
|
|
||||||
### How is BB calculated?
|
|
||||||
https://i.imgur.com/3uwN2ul.png
|
|
||||||
|
|
||||||
### How does trailing profit work?
|
|
||||||
sell value is the amount you want as profit
|
|
||||||
if you dont set trailing profit
|
|
||||||
as soon as the price reaches that amount
|
|
||||||
BOOM! the bot sells
|
|
||||||
Now you say. I want 0.5% trailing_profit. meaning. I want to risk 0.5 in order to gain more.
|
|
||||||
why risk
|
|
||||||
if you have sell_value at 2%
|
|
||||||
the bot will not sell anymore when it reaches 2%
|
|
||||||
because we gave it 0.5% breathing room
|
|
||||||
so if the price goes to 2.3% we mark that down as the highest value
|
|
||||||
now the price goes down to 1.9%
|
|
||||||
the bot wont sell because it is under our 2% gain value and 0.4% change is still within our breathing room
|
|
||||||
0.4% = 2.3 - 1.9
|
|
||||||
that is the risk I am talking about.
|
|
||||||
The profit reached 2% but the bot did not sell because of trailing profit.
|
|
||||||
Now if the price continues to go down. You are left with a bag.
|
|
||||||
But not this time!
|
|
||||||
The price goes up to 2.8% then 3.5%
|
|
||||||
So we mark down 3.5% a our highest value
|
|
||||||
then the price reaches for 3.7% profit!
|
|
||||||
So when will we sell? Our gain was set at 2%!
|
|
||||||
|
|
||||||
In a sudden movement the price goes down to 3.1% just like that.
|
|
||||||
3.7% - 3.1% = 0.6%
|
|
||||||
Our trialing profit was set at 0.5% and 0.6% is > 0.5% so enough risk. now we sell!
|
|
||||||
|
|
||||||
### How to disable Global sell only mode if BTC price has not reversed yet?
|
|
||||||
So you want it to start buying, even though the price is still in your not buy range for BTC drop?
|
|
||||||
You can turn off price drop trigger then set drop_recover_triger to a value that will reset the price.
|
|
||||||
On the next buy attempt, the btc price check will occure and then sell only mode will be disabled.
|
|
||||||
|
|
||||||
Dont wanna change your super settings? Try this
|
|
||||||
|
|
||||||
- Temporary manual override
|
|
||||||
- http://localhost:8081/settings/sellOnlyMode?type=&enabled=false
|
|
||||||
- This disables global sell only mode, but it will reactivate on next buy attempt if price is still below/above yor trigger
|
|
||||||
|
|
||||||
- Manual FORCE override
|
|
||||||
- http://localhost:8081/settings/overrideSellOnlyMode?enabled=false
|
|
||||||
- sell only mode will not reactivate until you either reset this override or you restart bot
|
|
||||||
|
|
||||||
- Reset Manual FORCE override
|
|
||||||
- http://localhost:8081/settings/overrideSellOnlyMode
|
|
||||||
- or restart the bot
|
|
Loading…
Reference in New Issue