Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Zero committed Jan 26, 2019
1 parent 9a4ff48 commit 125378c
Show file tree
Hide file tree
Showing 17 changed files with 1,770 additions and 217 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ botvsing
function main() {
var APIKEY = "your Access Key(Bitmex API ID)"
var expires = parseInt(Date.now() / 1000) + 10
var signature = exchange.HMAC("sha256", "hex", "GET/realtime" + expires, "{{secretkey}}")
var signature = exchange.HMAC("sha256", "hex", "GET/realtime" + expires, "{{secretkey}}")//secretkey在执行时自动替换,不用填写
var client = Dial("wss://www.bitmex.com/realtime", 60)
var auth = JSON.stringify({args: [APIKEY, expires, signature], op: "authKeyExpires"})
var pos = 0
Expand All @@ -41,4 +41,4 @@ https://www.fmz.com/strategy/128624

> 更新时间
2018-12-04 18:04:36
2018-12-24 09:26:09
4 changes: 1 addition & 3 deletions MACD+MA指标组合策略.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ SKVOL>0 AND (REF(MACDVALUE,1)>0 OR REF(DMA1,1)>REF(DMA2,1)),BP;
// 启动止损
SKVOL>0 AND HIGH>=卖出开仓价*(1+STOPLOSS*0.01),BP;
SETSIGPRICETYPE(BP,MAX(O,卖出开仓价*(1+STOPLOSS*0.01)));
BKVOL>0 AND LOW<=买入开仓价*(1-STOPLOSS*0.01),SP;
SETSIGPRICETYPE(SP,MIN(O,买入开仓价*(1-STOPLOSS*0.01)));
AUTOFILTER;
```

Expand All @@ -84,4 +82,4 @@ https://www.fmz.com/strategy/128134

> 更新时间
2018-12-18 15:30:12
2019-01-04 15:37:17
2 changes: 1 addition & 1 deletion OKEX期现对冲.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,4 +618,4 @@ https://www.fmz.com/strategy/127939

> 更新时间
2018-11-29 11:23:51
2019-01-26 10:44:21
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,23 @@
> 开源策略

- [测试火币macd金叉](https://www.fmz.com/strategy/92839)
- [基于ATR波动率指标构建的通道策略|Channel strategy based on ATR volatility indicator](https://www.fmz.com/strategy/127691)
- [cancelorder加强版](https://www.fmz.com/strategy/134368)
- [RSI统计套利策略-熊市盈利利器](https://www.fmz.com/strategy/131971)
- [海龟](https://www.fmz.com/strategy/128382)
- [OKEX期现对冲](https://www.fmz.com/strategy/127939)
- [现现对冲(搬砖)](https://www.fmz.com/strategy/127154)
- [测试多图表展示](https://www.fmz.com/strategy/38203)
- [选择性套利](https://www.fmz.com/strategy/134371)
- [恒温器 Thermostat 择时策略研究](https://www.fmz.com/strategy/127033)
- [MACD+MA指标组合策略](https://www.fmz.com/strategy/128134)
- [(学习)API与教程内代码学习文件](https://www.fmz.com/strategy/131864)
- [封装Bithumb的ordersDetail接口](https://www.fmz.com/strategy/132241)
- [麦语言海龟策略体验 (V 1.0)|M Language “Turtle Trading strategy” implementations(V 1.0)](https://www.fmz.com/strategy/132298)
- [麦语言海龟策略体验](https://www.fmz.com/strategy/126968)
- [商品期货跟单系统](https://www.fmz.com/strategy/79351)
- [Bitmex仓位变化推送微信(wss协议,需要bitmex api ID)|Bitmex position-change push(websocket)](https://www.fmz.com/strategy/128624)
- [基于ATR波动率指标构建的通道策略|Channel strategy based on ATR volatility indicator](https://www.fmz.com/strategy/127691)
- [升级版恒温器策略|Upgraded Thermostat Strategy](https://www.fmz.com/strategy/129086)
- [MACD+MA指标组合策略](https://www.fmz.com/strategy/128134)
- [基于ATR波动率指标构建的通道策略|Channel strategy based on ATR](https://www.fmz.com/strategy/128126)
- [三轨道波动率策略|Three-track Volatility Strategy](https://www.fmz.com/strategy/128129)
- [Dual Thrust (麦语言版)|Dual Thrust (MyLanguage version)](https://www.fmz.com/strategy/128884)
Expand All @@ -34,12 +46,7 @@
- [标准差价格通道策略|Standard deviation price channel strategy](https://www.fmz.com/strategy/128121)
- [CTP 期货](https://www.fmz.com/strategy/130234)
- [你不知道的MACD+MA指标组合策略|MACD+MA Indicator Combination Strategy](https://www.fmz.com/strategy/127101)
- [麦语言海龟策略体验](https://www.fmz.com/strategy/126968)
- [Bitmex仓位变化推送微信(wss协议,需要bitmex api ID)|Bitmex position-change push(websocket)](https://www.fmz.com/strategy/128624)
- [海龟](https://www.fmz.com/strategy/128382)
- [OKEX期现对冲](https://www.fmz.com/strategy/127939)
- [商品期货交易类库(旧版)](https://www.fmz.com/strategy/127341)
- [现现对冲(搬砖)](https://www.fmz.com/strategy/127154)
- [BitMEX 高级API功能 V.1.1.0 (期货:批量下单,编辑订单,冰山订单,一键撤单,定时撤单) Python2/3](https://www.fmz.com/strategy/114148)
- [OkEX 高级API功能 V.1.1.0 (期货:批量下单,现货;TBD) Python2/3](https://www.fmz.com/strategy/113979)
- [多交易所集合行情/下单 策略 范例](https://www.fmz.com/strategy/125569)
Expand Down Expand Up @@ -175,7 +182,6 @@
- [知乎专栏 实例文章策略](https://www.fmz.com/strategy/40266)
- [BitMEX 简单测试](https://www.fmz.com/strategy/40289)
- [商品期货查看账户详细信息](https://www.fmz.com/strategy/37793)
- [测试多图表展示](https://www.fmz.com/strategy/38203)
- [商品期货结算单平仓盈亏历史查询](https://www.fmz.com/strategy/38083)
- [Convert_Record_Cycle](https://www.fmz.com/strategy/37678)
- [转换任意K线周期](https://www.fmz.com/strategy/35986)
Expand Down
Loading

0 comments on commit 125378c

Please sign in to comment.