0
Follow
0
Followers
क्या डेरीबिट this_week next_week पैरामीटर्स को SetContractType फ़ंक्शन में एकीकृत कर सकता है?
Created 2018-04-18 11:47:56
1
2152
मैंने अभी-अभी deribit में SetContractType का परीक्षण किया और पाया कि यह this-week पैरामीटर का उपयोग नहीं कर सकता है, लेकिन यह पाया गया कि एक्सचेंजों ने पहले BTC-THISWEEK अनुबंध का समर्थन किया था
अब हर सब्सक्रिप्शन कॉन्ट्रैक्ट को मैन्युअल रूप से BTC-27APR18 में लिखा जाता है
Qing'wen ने पूछा कि क्या कोई समाधान है?
Related Recommendations
The grid trading strategyPython streamlined multi-variety MACD trending strategy frameworkin main TypeError: IO() takes at most 3 arguments (5 given)symbol not setGetTicker: 400: {"code": 2, "data": {}, "message": "invalid params"}gateio getdepth 502Decrypt: Secret key decrypt failedGetOrders: 400: {"code":-1121,"msg":"Invalid symbol."}HTTP 403 errorBitcoin trading by using bots
Comment
All comments (1)
Deribit 没有 this_week 和 next_week , Deribit 有接口 获取所有 可用合约 :
节选自 Deribit 文档
Get the open and available trading instruments.
URI: https://www.deribit.com/api/v1/public/getinstruments
URI Path: /api/v1/public/getinstruments
Parameters: expired=true for returning all expired instruments. Else all currently traded instruments will be returned.
Method: GET
Result is JSON object:
{"success": true, // false or true
"message": "", // empty or text message
"result": [{
"kind": "option", // future or option
"baseCurrency": "BTC", // currently BTC only
"currency": "USD", // currently USD only
"minTradeSize": 0.01, // minimum size
"instrumentName": "BTC-30JAN15-450-P", // instrument name
"isActive": true, // true or false
"settlement": "month",
"created": "2014-12-09 11:34:24 GMT", // GMT date time
"expiration": "2015-01-30 15:00:00 GMT" // GMT date time
"pricePrecision": 4 // specifies the number of decimal places for instrument prices,
// usually 4 decimal places for options, 2 -- for futures
}, ...]}
8 years ago
- 1

