Skip to content

Commit c6cf763

Browse files
authored
Update README.md
1 parent deeb8ed commit c6cf763

File tree

1 file changed

+58
-58
lines changed

1 file changed

+58
-58
lines changed

README.md

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,60 @@
1-
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2-
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
1+
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
2+
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
33
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
4-
5-
- [kraken-grid BETA](#kraken-grid-beta)
6-
- [Upgrading](#upgrading)
7-
- [Installation](#installation)
8-
- [Usage](#usage)
9-
- [How the author (Dave) does it for himself and others:](#how-the-author-dave-does-it-for-himself-and-others)
10-
- [Discussion of the `adjust` command.](#discussion-of-the-adjust-command)
11-
- [Web UI](#web-ui)
12-
- [Orders table](#orders-table)
13-
- [Allocation table](#allocation-table)
14-
- [Assets table](#assets-table)
15-
- [Pie Charts](#pie-charts)
16-
- [Changing your password](#changing-your-password)
17-
- [Mistyped passwords](#mistyped-passwords)
18-
- [Command Line Interface](#command-line-interface)
19-
- [Trading](#trading)
20-
- [addlev](#addlev)
21-
- [delev](#delev)
22-
- [buy](#buy)
23-
- [sell](#sell)
24-
- [kill](#kill)
25-
- [limits](#limits)
26-
- [less](#less)
27-
- [more](#more)
28-
- [Information Gathering](#information-gathering)
29-
- [assets](#assets)
30-
- [list [Search]](#list-search)
31-
- [margin](#margin)
32-
- [report](#report)
33-
- [show](#show)
34-
- [verbose](#verbose)
35-
- [web](#web)
36-
- [Bot Management](#bot-management)
37-
- [adjust](#adjust)
38-
- [allocate](#allocate)
39-
- [allocation](#allocation)
40-
- [asset](#asset)
41-
- [auto](#auto)
42-
- [manual](#manual)
43-
- [balance](#balance)
44-
- [quit](#quit)
45-
- [risky](#risky)
46-
- [refnum](#refnum)
47-
- [reset](#reset)
48-
- [safe](#safe)
49-
- [set](#set)
50-
- [Experimental features (Not Recommended and not well tested)](#experimental-features-not-recommended-and-not-well-tested)
51-
- [ws - EXPERIMENTAL](#ws---experimental)
52-
- [Internals](#internals)
53-
- [Userref](#userref)
54-
- [Partial Execution](#partial-execution)
55-
- [HELP!](#help)
56-
57-
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
4+
5+
- [kraken-grid BETA](#kraken-grid-beta)
6+
- [Upgrading](#upgrading)
7+
- [Installation](#installation)
8+
- [Usage](#usage)
9+
- [How the author (Dave) does it for himself and others:](#how-the-author-dave-does-it-for-himself-and-others)
10+
- [Discussion of the `adjust` command.](#discussion-of-the-adjust-command)
11+
- [Web UI](#web-ui)
12+
- [Orders table](#orders-table)
13+
- [Allocation table](#allocation-table)
14+
- [Assets table](#assets-table)
15+
- [Pie Charts](#pie-charts)
16+
- [Changing your password](#changing-your-password)
17+
- [Mistyped passwords](#mistyped-passwords)
18+
- [Command Line Interface](#command-line-interface)
19+
- [Trading](#trading)
20+
- [addlev](#addlev)
21+
- [delev](#delev)
22+
- [buy](#buy)
23+
- [sell](#sell)
24+
- [kill](#kill)
25+
- [limits](#limits)
26+
- [less](#less)
27+
- [more](#more)
28+
- [Information Gathering](#information-gathering)
29+
- [assets](#assets)
30+
- [list [Search]](#list-search)
31+
- [margin](#margin)
32+
- [report](#report)
33+
- [show](#show)
34+
- [verbose](#verbose)
35+
- [web](#web)
36+
- [Bot Management](#bot-management)
37+
- [adjust](#adjust)
38+
- [allocate](#allocate)
39+
- [allocation](#allocation)
40+
- [asset](#asset)
41+
- [auto](#auto)
42+
- [manual](#manual)
43+
- [balance](#balance)
44+
- [quit](#quit)
45+
- [risky](#risky)
46+
- [refnum](#refnum)
47+
- [reset](#reset)
48+
- [safe](#safe)
49+
- [set](#set)
50+
- [Experimental features (Not Recommended and not well tested)](#experimental-features-not-recommended-and-not-well-tested)
51+
- [ws - EXPERIMENTAL](#ws---experimental)
52+
- [Internals](#internals)
53+
- [Userref](#userref)
54+
- [Partial Execution](#partial-execution)
55+
- [HELP!](#help)
56+
57+
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
5858

5959
# kraken-grid BETA
6060
A bot that extends grid trading once you use it to create a grid using orders with conditional closes.
@@ -92,7 +92,7 @@ If you have proceeded with step four of the installation, then you have a runnin
9292
5. If you have some other crypto on the exchange, you can do the same thing with it as I described in step 4 for XXBT (bitcoin). During a heavy drop across all cryptos, this will cause your USD allocation to drop a lot. For this reason, the bot won't let you do an adjustment that would require a negative allocation of USD. It misreports this as "You'd run out of cash" which should be "You'd have to short USD".
9393
6. Once you have determined the allocation you want, with enough allocated to USD to make adjustments at lower prices, and you've added all the adjustments you want (only one for each crypto), then you can use the `balance` command. In the lower table of the web page, there is a clickable number in the upper left corner which says "Balance Tolerance" when you hover over it. This is used to build a `balance` command that will be proposed to be sent to the bot when you click the price of any asset. We recommend reading the documentation for `balance` as it places trades for you to achieve your target allocation and maintain it when the bot is in `auto` mode.
9494
#### Discussion of the `adjust` command.
95-
This strategy can only _increase_ the allocation, and not decrease it. To put it simply, allocation should be set to how much of your savings you want to be in this asset when it's _at the highest price_. Let's sayyou want the allocation to be perfectly even across all assets. When the prices are (all) at the bottom, you want all your cash to be spent. Here's how to set this up, assuming you want to hold at least half of your target allocation in an asset _at its highest price_ and the full target at the lowest one (This assumes you choose a trading range of 20%):
95+
Using [adjust](#adjust) can only _increase_ the allocation, and not decrease it. To put it simply, allocation should be set to how much of your savings you want to be in this asset when it's _at the highest price_. Let's say you want the allocation to be perfectly even across all assets. When the prices are (all) at the bottom, you want all your cash to be spent. Here's how to set this up, assuming you want to hold at least half of your target allocation in an asset _at its highest price_ and the full target at the lowest one (This assumes you choose a trading range of 20%):
9696

9797
For a single crypto: Set your allocation to 50% (and 50% in USD or EUR or YEN, your _numeraire_, meaning the currency you use). Your adjust command would be `adjust TKR 50 20` where TKR is the ticker for your crypto. For two cryptos, set the allocation for each to 33.33% (leaving 33.33% for your numeraire). Your adjust command would be `adjust TKR 16.67 20` for each one.
9898

@@ -144,7 +144,7 @@ The semantics are the same as for [delev](#delev).
144144

145145
#### delev
146146
`delev Counter`
147-
C _must be_ a `Counter` as shown by executing [list](#list). If the identified order uses leverage, this command will first create an order without any leverage to replace it, and then kill the one identified. The order that was killed will still be in the list, prefixed with `Killed:` *NOTE: The new order often (or always?) appears at the top of `list` after this, so the `Counter`s identifying other orders may change.*
147+
Counter _must be_ a `Counter` as shown by executing [list](#list). If the identified order uses leverage, this command will first create an order without any leverage to replace it, and then kill the one identified. The order that was killed will still be in the list, prefixed with `Killed:` *NOTE: The new order often (or always?) appears at the top of `list` after this, so the `Counter`s identifying other orders may change.*
148148

149149
#### buy
150150
`buy Ticker Price Amount ClosePrice`

0 commit comments

Comments
 (0)