Enhance Derishell with one function using v2 of API for Option Instrument
€8-30 EUR
Completed
Posted almost 5 years ago
€8-30 EUR
Paid on delivery
Enhance Derishell with one function using v2 of API for Option Instrument
Do not implement version v1.
[login to view URL]
Option Instrument (not perpetual) function has to be implemented:
option_askPrice - will retrieve askPrice for given instrument
from book and saves to [login to view URL]: "optionsAskPrice": "0.34"
Detailed description:
Implement function to query ask Price using commands
in derishell [login to view URL]: ws_option_askPrice
> help
> option_askPrice BTC-27DEC19-10000-C
Implement function that returns current ask Price for Instrument
from order book for given instrument and saves to [login to view URL]
"optionsAskPrice": "0.34"
The options instrument can be query from below endpoints:
Reference: [login to view URL]
Test in console: [login to view URL]
Category: Market Data
Action: /public/get_book_summary_by_instrument
Arguments:
Instrument_name: BTC-27DEC19-10000-C
example request:
{
"jsonrpc": "2.0",
"id": 1981,
"method": "public/get_book_summary_by_instrument",
"params": {
"instrument_name": "BTC-27DEC19-10000-C"
}
}
response: {
"jsonrpc": "2.0",
"id": 1981,
"result": [
{
"volume": 174,
"underlying_price": 12989.277,
"underlying_index": "SYN.BTC-27DEC19",
"quote_currency": "USD",
"open_interest": 279,
"mid_price": 0.347,
"mark_price": 0.33341041,
"low": 0.336,
"last": 0.3365,
"interest_rate": 0,
"instrument_name": "BTC-27DEC19-10000-C",
"high": 0.35,
"estimated_delivery_price": 11203.08,
"creation_timestamp": 1562332476029,
"bid_price": 0.336,
"base_currency": "BTC",
"ask_price": 0.358
}
],
"usIn": 1562332476029587,
"usOut": 1562332476029704,
"usDiff": 117,
"testnet": true
}
Note: you have to retrieve your
Hello. I am Navid with almost two years of experience in programming with Python. I can ensure you that I can help you in this project and you can rely on me to deliver you a readable python code not exceeding from the predetermined deadline. Cheers
€30 EUR in 3 days
5.0 (1 review)
0.1
0.1
2 freelancers are bidding on average €25 EUR for this job
Hi,Thanks for giving me a chance.
I have read all your requirement and I wish to work for your project.
It is because I have many experiences of development of project similar to your project.
So if you hire me, you will have good results.
I promise you high quality work ,complete attention and proper communication.
Thanks for your time.
Regards.