|
|
Re: Help with pulling Index: Coin name price from deribit plugin
[Re: degenerate_762]
#485227
02/05/22 14:45
02/05/22 14:45
|
Joined: Jul 2021
Posts: 51
degenerate_762
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2021
Posts: 51
|
Name Price Spread RollLong RollShort PIP PIPCost MarginCost Leverage LotAmount Commission Symbol
BTC 57125 3.5 0 0 0.0001 0.0001 0 0 0.0001 0 BTC
BTC-PERPETUAL 57125 3.5 0 0 0.05 1.12E-05 2.23E-06 0 10 -0.25 BTC-PERPETUAL
BTC-26MAR21 57125 3.5 0 0 0.05 1.12E-05 2.23E-06 0 10 -0.25 BTC-26MAR21
ETH 1991 0.05 0 0 0.0001 0.0001 0 0 0.0001 0 ETH
ETH-PERPETUAL 1991 0.05 0 0 0.05 1.12E-06 4.47E-07 0 1 -0.25 ETH-PERPETUAL
ETH-26MAR21 1991 0.05 0 0 0.05 1.12E-06 4.47E-07 0 1 -0.25 ETH-26MAR21
|
|
|
Re: Help with pulling Index: Coin name price from deribit plugin
[Re: degenerate_762]
#485229
02/05/22 15:12
02/05/22 15:12
|
Joined: Feb 2017
Posts: 1,725 Chicago
AndrewAMD
Serious User
|
Serious User
Joined: Feb 2017
Posts: 1,725
Chicago
|
Do you know for a fact that you're using this asset list? After your asset("BTC"); call, add these lines:
printf("\nSymbolTrade: %s",SymbolTrade);
printf("\nSymbolLive: %s",SymbolLive);
printf("\nSymbolHist: %s",SymbolHist);
|
|
|
Re: Help with pulling Index: Coin name price from deribit plugin
[Re: AndrewAMD]
#485230
02/05/22 15:23
02/05/22 15:23
|
Joined: Jul 2021
Posts: 51
degenerate_762
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2021
Posts: 51
|
Deribit
Login 0 Deribit..
!Connecting to wss://www.deribit.com/ws/api/v2/...
!Authorizing...
!8 BTC futures detected
!430 BTC options detected
!8 ETH futures detected
!484 ETH options detected
!Deribit BTC/USD index: 41712.35
!Deribit ETH/USD index: 3045.89
!Using kh762 main: kh762
!BTC balance: 0.0000000000 (0.00 USD)
!BTC equity: 0.0000000000 (0.00 USD)
!ETH balance: 0.0000000000 (0.00 USD)
!ETH equity: 0.0000000000 (0.00 USD) at UTC 02-05 15:19 - BTC history unavailable!
SymbolTrade: BTC
SymbolLive: BTC
SymbolHist: BTC
V 2.444 on Sat 22-02-05 16:19:56 (Zorro S Subscription)
!readloop_handler: The WebSocket stream was gracefully closed at both endpoints
!BrokerAccount: stopped
Error 047: No bars generated
Logout.. ok
|
|
|
Re: Help with pulling Index: Coin name price from deribit plugin
[Re: AndrewAMD]
#485231
02/05/22 15:31
02/05/22 15:31
|
Joined: Jul 2021
Posts: 51
degenerate_762
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2021
Posts: 51
|
@AndrewAMD.
Last edited by degenerate_762; 02/11/22 09:01.
|
|
|
Re: Help with pulling Index: Coin name price from deribit plugin
[Re: AndrewAMD]
#485233
02/05/22 15:34
02/05/22 15:34
|
Joined: Jul 2021
Posts: 51
degenerate_762
OP
Junior Member
|
OP
Junior Member
Joined: Jul 2021
Posts: 51
|
|
|
|
Re: Help with pulling Index: Coin name price from deribit plugin
[Re: degenerate_762]
#488140
02/18/24 13:52
02/18/24 13:52
|
Joined: Feb 2016
Posts: 5 Stuttgart
turbodom
Newbie
|
Newbie
Joined: Feb 2016
Posts: 5
Stuttgart
|
Hi, thanks for the prompt answer. Okay got it, so Index still not working with Deribit plugin, but you managed to find another way. Yes for basis and other stuff. I'm curious what you do with the basis, do you trade cash and carry or use it as indicator ?
Last edited by turbodom; 02/18/24 14:07.
|
|
|
|
|
|