File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
nautilus_trader/model/instruments Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ from nautilus_trader.model.objects cimport Quantity
34
34
35
35
cdef class Cfd(Instrument):
36
36
"""
37
- Represents a generic currency pair instrument in a spot/cash market .
37
+ Represents a Contract for Difference (CFD) instrument .
38
38
39
39
Can represent both Fiat FX and Cryptocurrency pairs.
40
40
@@ -45,7 +45,7 @@ cdef class Cfd(Instrument):
45
45
raw_symbol : Symbol
46
46
The raw/local/native symbol for the instrument, assigned by the venue.
47
47
asset_class : AssetClass
48
- The cfd contract asset class.
48
+ The CFD contract asset class.
49
49
base_currency : Currency, optional
50
50
The base currency.
51
51
quote_currency : Currency
@@ -119,6 +119,11 @@ cdef class Cfd(Instrument):
119
119
If `max_price` is not positive (> 0).
120
120
ValueError
121
121
If `min_price` is negative (< 0).
122
+
123
+ References
124
+ ----------
125
+ https://en.wikipedia.org/wiki/Contract_for_difference
126
+
122
127
"""
123
128
124
129
def __init__ (
Original file line number Diff line number Diff line change @@ -34,9 +34,7 @@ from nautilus_trader.model.objects cimport Quantity
34
34
35
35
cdef class Commodity(Instrument):
36
36
"""
37
- Represents a generic currency pair instrument in a spot/cash market.
38
-
39
- Can represent both Fiat FX and Cryptocurrency pairs.
37
+ Represents a commodity instrument in a spot/cash market.
40
38
41
39
Parameters
42
40
----------
You can’t perform that action at this time.
0 commit comments