Comments (4)
具体的に、coincheckで10個ポジションを持っていたら、
板が反転していなくてもminExitTargetProfitの条件を満たせば、
古いポジションに対して逆方向で指値が入っていってポジション解消されると思っています。
minExitTargetProfit: -1で設定しているので条件の問題ではないのかと思ってご相談させていただきました。
-1 であれば、ほぼ反転しない限りクローズされません。テストとしてminExitTargetProfit: -1000等で実行してみれば、即座にクローズされるはずです。
from r2.
以下が minTargetProfit: 1、minExitTargetProfit: -1000での実行例です。即座にクローズされています。
2017-12-30 08:30:52.450 INFO --------------------ARBITRAGER--------------------
2017-12-30 08:30:52.450 INFO 裁定機会をチェック中...
2017-12-30 08:30:52.458 INFO ベストアスク : Quoine Ask 1,719,000 0.057
2017-12-30 08:30:52.458 INFO ベストビッド : Coincheck Bid 1,726,600 0.03
2017-12-30 08:30:52.458 INFO スプレッド : -7600
2017-12-30 08:30:52.458 INFO 裁定可能数量 : 0.03
2017-12-30 08:30:52.458 INFO 目標数量 : 0.005
2017-12-30 08:30:52.458 INFO 予想収益 : 38 (0.441%)
2017-12-30 08:30:52.462 INFO >>裁定機会を発見。
2017-12-30 08:30:52.462 INFO >>オーダーを送信中... 目標価格 Quoine Ask 1,719,000 0.057
2017-12-30 08:30:52.465 INFO >>オーダーを送信中... 目標価格 Coincheck Bid 1,726,600 0.03
2017-12-30 08:30:55.759 INFO >>オーダーチェック試行1回目。
2017-12-30 08:30:55.759 INFO >>約定確認中...
2017-12-30 08:30:55.926 INFO >>約定済み: Quoine Buy 0.005 BTC 約定価格 1,718,947
2017-12-30 08:30:55.926 INFO >>約定済み: Coincheck Sell 0.005 BTC 約定価格 1,726,751
2017-12-30 08:30:55.927 INFO >>両方のオーダーの約定完了。
2017-12-30 08:30:55.927 INFO >>収益: 39
2017-12-30 08:30:55.927 INFO >>5000 ms スリープ中...
2017-12-30 08:31:00.927 INFO --------------------------------------------------
2017-12-30 08:31:02.440 INFO ---------------------POSITION---------------------
2017-12-30 08:31:02.440 INFO Net Exposure: 0 BTC
2017-12-30 08:31:02.440 INFO Coincheck : -0.015 BTC, 買い試行許可: OK, 売り試行許可: OK
2017-12-30 08:31:02.440 INFO Bitflyer : 0 BTC, 買い試行許可: OK, 売り試行許可: NG
2017-12-30 08:31:02.440 INFO Quoine : 0.015 BTC, 買い試行許可: OK, 売り試行許可: OK
2017-12-30 08:31:02.440 INFO --------------------------------------------------
2017-12-30 08:31:02.440 INFO --------------------ARBITRAGER--------------------
2017-12-30 08:31:02.440 INFO 裁定機会をチェック中...
2017-12-30 08:31:02.440 INFO オープン状態のオーダーペア:
2017-12-30 08:31:02.440 INFO [Quoine Buy 0.005 BTC, Coincheck Sell 0.005 BTC]
2017-12-30 08:31:02.448 INFO クローズ可能なオーダーを発見。
2017-12-30 08:31:02.448 INFO >>オーダーを送信中... 目標価格 Coincheck Ask 1,726,300 0.25
2017-12-30 08:31:02.450 INFO >>オーダーを送信中... 目標価格 Quoine Bid 1,718,100 0.097
2017-12-30 08:31:05.669 INFO >>オーダーチェック試行1回目。
2017-12-30 08:31:05.669 INFO >>約定確認中...
2017-12-30 08:31:05.847 INFO >>約定済み: Coincheck Buy 0.0050075 BTC 約定価格 1,726,269
2017-12-30 08:31:05.847 INFO >>約定済み: Quoine Sell 0.005 BTC 約定価格 1,718,171
2017-12-30 08:31:05.847 INFO >>両方のオーダーの約定完了。
2017-12-30 08:31:05.848 INFO >>収益: -53
from r2.
勘違いしていたようです、実績も上げていただきよくわかりました。
ありがとうございます!!
minTargetProfit:-1000
損益1000円以内ならクローズする。で合っていますか?
もしそれが合っているなら、
minTargetProfit:150,minTargetProfit:-100,commissionPercent:0.05とした場合、
オープン収益150円-クローズ収益100円=50円の利益だと考えます。
ちなみに、bitrinjaniさんはminTargetProfitとminTargetProfitはどうされていますか?
手数料もあるので1回の収益を取る方がいいと思っていますが、気になったので良ければ教えてください(^^)
from r2.
minTargetProfit:-1000
損益1000円以内ならクローズする。で合っていますか?
QiitaやGitHubに書いてある通りです。
from r2.
Related Issues (20)
- 設定内容を確認したいです。 HOT 2
- AnalyticsプラグインのBest Bid,Best Askを違う取引所で判定
- 期待収益がマイナスでもオープン HOT 2
- 初歩的な質問です。プログラム初心者というより初めてレベルです。 HOT 7
- quoinexでエラーが出ているようです。 HOT 1
- キャンセル時にProfitがNaNになる
- MaxTargetVolumePercentが適用されるタイミングがなぜMainLimitCheckerで行われるなのか?
- ERROR Unable to find base ccy position in Btcbox. [["BTC",null],["JPY",null]] HOT 1
- 取引所の入金用意について
- 過去の収益確認
- CoinCheckでの"order temporally disabled" HOT 2
- Quoine での 約定数量確認エラーについて HOT 6
- Quoine での 執行中のエラーについて
- node.jsのバージョンについて
- コインチェックの現物を成り行きでクローズ
- 525: SSL handshake failed について HOT 1
- DeCurretがレバレッジ取引可になりました。 R2に実装可能でしょうか HOT 1
- npm install時に発生するエラー HOT 1
- npm start error
- ftxへの変更 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r2.